diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-04-05 16:43:03 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-04-13 15:34:07 +0200 |
commit | be3b1e27e5cb7a390ab1bfa2265d0b0e2f0bcbce (patch) | |
tree | 9189e749d8966de12d9cd31c28b728c37ecfd364 /libavformat/rawdec.h | |
parent | 7b827a029338ef8af689e84a352825797b286e26 (diff) | |
download | ffmpeg-be3b1e27e5cb7a390ab1bfa2265d0b0e2f0bcbce.tar.gz |
lavf/rawdec: mark raw demuxers as having no timestamps
Changes the result of the h264_redundant_pps-mov test, where the output
timebase is now 1001/24000 instead of 1/24. This is more correct, as the
source file actually is 23.98fps.
Diffstat (limited to 'libavformat/rawdec.h')
-rw-r--r-- | libavformat/rawdec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rawdec.h b/libavformat/rawdec.h index f843fe5a2e..91d0b659af 100644 --- a/libavformat/rawdec.h +++ b/libavformat/rawdec.h @@ -57,7 +57,7 @@ const AVInputFormat ff_ ## shortname ## _demuxer = {\ .read_header = ff_raw_video_read_header,\ .read_packet = ff_raw_read_partial_packet,\ .extensions = ext,\ - .flags = flag,\ + .flags = flag | AVFMT_NOTIMESTAMPS,\ .raw_codec_id = id,\ .priv_data_size = sizeof(FFRawVideoDemuxerContext),\ .priv_class = &ff_rawvideo_demuxer_class,\ |