diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-11-13 22:56:18 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-13 22:56:18 +0100 |
commit | 4abe6e415310e63d64c3a370c15d410d2050ca2a (patch) | |
tree | dc130e81387eef65912f0f3c6967006c6b22b283 | |
parent | 9647c6deddfae9a24a9568fc98866f33c5d87e50 (diff) | |
download | ffmpeg-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>
-rw-r--r-- | libavformat/nullenc.c | 2 |
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, }; |