1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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.
This commit is contained in:
Anton Khirnov 2023-04-05 16:43:03 +02:00
parent 7b827a0293
commit be3b1e27e5
2 changed files with 2 additions and 2 deletions

View File

@ -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,\

View File

@ -1,6 +1,6 @@
ac2e8f528dae4e4d610fa3517d2c94fb *tests/data/fate/h264_redundant_pps-mov.h264
187284 tests/data/fate/h264_redundant_pps-mov.h264
#tb 0: 1/24
#tb 0: 1001/24000
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 640x360