diff options
author | Anton Khirnov | 2010-10-15 19:04:25 +0000 |
---|---|---|
committer | Aurelien Jacobs | 2010-10-15 19:04:25 +0000 |
commit | 03700d399bcc749ad7916f2d39a99527f37c8b6e (patch) | |
tree | 20d22335ebef2e37679f6e3c71d1e264c1e38fe5 /libavformat/nutenc.c | |
parent | ed09233fa2b081e3f60c02267fe9d17e0bb45396 (diff) |
Export metadata in the generic format. Deprecate old conversion API.
patch by Anton Khirnov anton _at_ khirnov _dot_ net
Originally committed as revision 25493 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/nutenc.c')
-rw-r--r-- | libavformat/nutenc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c index 8cbc7d4cc3..a030fee55c 100644 --- a/libavformat/nutenc.c +++ b/libavformat/nutenc.c @@ -491,6 +491,8 @@ static int write_headers(AVFormatContext *avctx, ByteIOContext *bc){ ByteIOContext *dyn_bc; int i, ret; + ff_metadata_conv_ctx(avctx, ff_nut_metadata_conv, NULL); + ret = url_open_dyn_buf(&dyn_bc); if(ret < 0) return ret; @@ -810,5 +812,4 @@ AVOutputFormat nut_muxer = { write_trailer, .flags = AVFMT_GLOBALHEADER | AVFMT_VARIABLE_FPS, .codec_tag = (const AVCodecTag * const []){ ff_codec_bmp_tags, ff_nut_video_tags, ff_codec_wav_tags, ff_nut_subtitle_tags, 0 }, - .metadata_conv = ff_nut_metadata_conv, }; |