aboutsummaryrefslogtreecommitdiff
path: root/ffmpeg.h
diff options
context:
space:
mode:
authorMichael Niedermayer2015-11-10 22:53:29 +0100
committerMichael Niedermayer2015-11-11 15:04:21 +0100
commit46070cc20aa341d385136ec767b127a956f7d9ba (patch)
tree3309c3df45c6e7a10a1e2d3a5b28c28d93f6051e /ffmpeg.h
parent9ffc61b1256e42c54766e73fd899a57261eb9b3b (diff)
ffmpeg: set muxer packet duration based on framerate only for CFR
a set ost->frame_rate does not imply CFR in ffmpeg The changed fate tests had all wrong packet durations (like 1/1000 or 1/90000) There might be more cases in which is_cfr could be set Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'ffmpeg.h')
-rw-r--r--ffmpeg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg.h b/ffmpeg.h
index cdcb3b46fa..39b9edab52 100644
--- a/ffmpeg.h
+++ b/ffmpeg.h
@@ -421,6 +421,7 @@ typedef struct OutputStream {
/* video only */
AVRational frame_rate;
+ int is_cfr;
int force_fps;
int top_field_first;
int rotate_overridden;