aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/nullenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-13 22:56:18 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-11-13 22:56:18 +0100
commit4abe6e415310e63d64c3a370c15d410d2050ca2a (patch)
treedc130e81387eef65912f0f3c6967006c6b22b283 /libavformat/nullenc.c
parent9647c6deddfae9a24a9568fc98866f33c5d87e50 (diff)
downloadffmpeg-4abe6e415310e63d64c3a370c15d410d2050ca2a.tar.gz
avformat/nullenc: mark null as VFPS
This avoids frame duplication for null output avoiding unneeded computations. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/nullenc.c')
-rw-r--r--libavformat/nullenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nullenc.c b/libavformat/nullenc.c
index 7da297b63e..7c08c396e8 100644
--- a/libavformat/nullenc.c
+++ b/libavformat/nullenc.c
@@ -32,5 +32,5 @@ AVOutputFormat ff_null_muxer = {
.audio_codec = AV_NE(AV_CODEC_ID_PCM_S16BE, AV_CODEC_ID_PCM_S16LE),
.video_codec = AV_CODEC_ID_RAWVIDEO,
.write_packet = null_write_packet,
- .flags = AVFMT_NOFILE | AVFMT_NOTIMESTAMPS | AVFMT_RAWPICTURE,
+ .flags = AVFMT_VARIABLE_FPS | AVFMT_NOFILE | AVFMT_NOTIMESTAMPS | AVFMT_RAWPICTURE,
};