summaryrefslogtreecommitdiff
path: root/libavformat/movenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-02-24 15:04:18 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-02-24 15:04:18 +0000
commit259182121336fdb1d15be50b3693904f1e2879e7 (patch)
tree2bc16c5afe40a377d4f9f1ef7ffa00763407c3ac /libavformat/movenc.c
parent75d873314a1746994241fed62018605f1388b41b (diff)
Add AVFMT_VARIABLE_FPS to specify which muxers do not need duplicated frames.
Originally committed as revision 17554 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r--libavformat/movenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 95b881aec2..b73bb15630 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -1841,7 +1841,7 @@ AVOutputFormat mov_muxer = {
mov_write_header,
mov_write_packet,
mov_write_trailer,
- .flags = AVFMT_GLOBALHEADER,
+ .flags = AVFMT_GLOBALHEADER | AVFMT_VARIABLE_FPS,
.codec_tag = (const AVCodecTag* const []){codec_movvideo_tags, codec_movaudio_tags, 0},
};
#endif
@@ -1873,7 +1873,7 @@ AVOutputFormat mp4_muxer = {
mov_write_header,
mov_write_packet,
mov_write_trailer,
- .flags = AVFMT_GLOBALHEADER,
+ .flags = AVFMT_GLOBALHEADER | AVFMT_VARIABLE_FPS,
.codec_tag = (const AVCodecTag* const []){ff_mp4_obj_type, 0},
};
#endif