History

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.

Anton Khirnov committed 3 years ago

Commit be3b1e21 parent 7b827a02 files · +2 −2Browse files

Unified · Split

2 files
  1. libavformat/rawdec.h +1 −1
  2. tests/ref/fate/h264_redundant_pps-mov +1 −1
libavformat/rawdec.h+1−1
@@ -57,7 +57,7 @@ const AVInputFormat ff_ ## shortname ## _demuxer = {\ · 56 unmodified lines
5757 .read_header = ff_raw_video_read_header,\
5858 .read_packet = ff_raw_read_partial_packet,\
5959 .extensions = ext,\
60− .flags = flag,\
60+ .flags = flag | AVFMT_NOTIMESTAMPS,\
6161 .raw_codec_id = id,\
6262 .priv_data_size = sizeof(FFRawVideoDemuxerContext),\
6363 .priv_class = &ff_rawvideo_demuxer_class,\
tests/ref/fate/h264_redundant_pps-mov+1−1
@@ -1,6 +1,6 @@
11 ac2e8f528dae4e4d610fa3517d2c94fb *tests/data/fate/h264_redundant_pps-mov.h264
22 187284 tests/data/fate/h264_redundant_pps-mov.h264
3−#tb 0: 1/24
3+#tb 0: 1001/24000
44 #media_type 0: video
55 #codec_id 0: rawvideo
66 #dimensions 0: 640x360

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t