[FFmpeg-cvslog] mpegts: Mark the muxer as supporting variable fps

Luca Barbato git at videolan.org
Wed Jul 15 22:43:39 CEST 2015


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Tue Jun 30 16:24:12 2015 +0200| [4512ee78e19fdb011bdec1b3a8dc0b315c82a81e] | committer: Luca Barbato

mpegts: Mark the muxer as supporting variable fps

Signed-off-by: Luca Barbato <lu_zero at gentoo.org>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4512ee78e19fdb011bdec1b3a8dc0b315c82a81e
---

 libavformat/mpegtsenc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
index 75c93a7..2522b72 100644
--- a/libavformat/mpegtsenc.c
+++ b/libavformat/mpegtsenc.c
@@ -1280,6 +1280,6 @@ AVOutputFormat ff_mpegts_muxer = {
     .write_header   = mpegts_write_header,
     .write_packet   = mpegts_write_packet,
     .write_trailer  = mpegts_write_end,
-    .flags          = AVFMT_ALLOW_FLUSH,
+    .flags          = AVFMT_ALLOW_FLUSH | AVFMT_VARIABLE_FPS,
     .priv_class     = &mpegts_muxer_class,
 };



More information about the ffmpeg-cvslog mailing list