Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(394)

Unified Diff: source/patched-ffmpeg-mt/libavformat/matroskaenc.c

Issue 4533003: patched ffmpeg nov 2 (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: '' Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: source/patched-ffmpeg-mt/libavformat/matroskaenc.c
===================================================================
--- source/patched-ffmpeg-mt/libavformat/matroskaenc.c (revision 65184)
+++ source/patched-ffmpeg-mt/libavformat/matroskaenc.c (working copy)
@@ -752,6 +752,8 @@
ebml_master tags = {0};
int i, ret;
+ ff_metadata_conv_ctx(s, ff_mkv_metadata_conv, NULL);
+
if (av_metadata_get(s->metadata, "", NULL, AV_METADATA_IGNORE_SUFFIX)) {
ret = mkv_write_tag(s, s->metadata, 0, 0, &tags);
if (ret < 0) return ret;
@@ -1186,7 +1188,6 @@
.flags = AVFMT_GLOBALHEADER | AVFMT_VARIABLE_FPS,
.codec_tag = (const AVCodecTag* const []){ff_codec_bmp_tags, ff_codec_wav_tags, 0},
.subtitle_codec = CODEC_ID_TEXT,
- .metadata_conv = ff_mkv_metadata_conv,
};
#endif
@@ -1220,6 +1221,5 @@
mkv_write_trailer,
.flags = AVFMT_GLOBALHEADER,
.codec_tag = (const AVCodecTag* const []){ff_codec_wav_tags, 0},
- .metadata_conv = ff_mkv_metadata_conv,
};
#endif

Powered by Google App Engine
This is Rietveld 408576698