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.
pull/389/head
Anton Khirnov 2 years ago
parent 7b827a0293
commit be3b1e27e5
  1. 2
      libavformat/rawdec.h
  2. 2
      tests/ref/fate/h264_redundant_pps-mov

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

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

Loading…
Cancel
Save