[FFmpeg-devel] [PATCH] ffmpeg: complete mov/mp4 based timebase hack with "f4v" format.

Clément Bœsch ubitux at gmail.com
Fri Sep 21 15:58:24 CEST 2012


From: Clément Bœsch <clement.boesch at smartjog.com>

---
 ffmpeg.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/ffmpeg.c b/ffmpeg.c
index c48aec7..a30ffb1 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2057,6 +2057,7 @@ static int transcode_init(void)
             } else if(!(oc->oformat->flags & AVFMT_VARIABLE_FPS)
                       && strcmp(oc->oformat->name, "mov") && strcmp(oc->oformat->name, "mp4") && strcmp(oc->oformat->name, "3gp")
                       && strcmp(oc->oformat->name, "3g2") && strcmp(oc->oformat->name, "psp") && strcmp(oc->oformat->name, "ipod")
+                      && strcmp(oc->oformat->name, "f4v")
             ) {
                 if(   copy_tb<0 && icodec->time_base.den
                                 && av_q2d(icodec->time_base)*icodec->ticks_per_frame > av_q2d(ist->st->time_base)
-- 
1.7.10.4



More information about the ffmpeg-devel mailing list