diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-09-29 21:36:18 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-09-29 21:36:18 +0200 |
commit | 98ed0716fb79004f97a8348b29557c25c21afa32 (patch) | |
tree | 931fe284fc87e484b372fb3ce4d471882954ea32 /libavformat | |
parent | a019149249695f7b812ead18bc51fc2d8df57499 (diff) | |
download | ffmpeg-98ed0716fb79004f97a8348b29557c25c21afa32.tar.gz |
lavf/rawenc: Force one stream for hevc and m4v.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/rawenc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/rawenc.c b/libavformat/rawenc.c index d65c7c7909..7a1a3d0fb2 100644 --- a/libavformat/rawenc.c +++ b/libavformat/rawenc.c @@ -241,6 +241,7 @@ AVOutputFormat ff_hevc_muxer = { .extensions = "hevc", .audio_codec = AV_CODEC_ID_NONE, .video_codec = AV_CODEC_ID_HEVC, + .write_header = force_one_stream, .write_packet = ff_raw_write_packet, .flags = AVFMT_NOTIMESTAMPS, }; @@ -253,6 +254,7 @@ AVOutputFormat ff_m4v_muxer = { .extensions = "m4v", .audio_codec = AV_CODEC_ID_NONE, .video_codec = AV_CODEC_ID_MPEG4, + .write_header = force_one_stream, .write_packet = ff_raw_write_packet, .flags = AVFMT_NOTIMESTAMPS, }; |