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
57 .read_header = ff_raw_video_read_header,\57 .read_header = ff_raw_video_read_header,\
58 .read_packet = ff_raw_read_partial_packet,\58 .read_packet = ff_raw_read_partial_packet,\
59 .extensions = ext,\59 .extensions = ext,\
60 .flags = flag,\60 .flags = flag | AVFMT_NOTIMESTAMPS,\
61 .raw_codec_id = id,\61 .raw_codec_id = id,\
62 .priv_data_size = sizeof(FFRawVideoDemuxerContext),\62 .priv_data_size = sizeof(FFRawVideoDemuxerContext),\
63 .priv_class = &ff_rawvideo_demuxer_class,\63 .priv_class = &ff_rawvideo_demuxer_class,\
tests/ref/fate/h264_redundant_pps-mov+1−1
@@ -1,6 +1,6 @@
1ac2e8f528dae4e4d610fa3517d2c94fb *tests/data/fate/h264_redundant_pps-mov.h2641ac2e8f528dae4e4d610fa3517d2c94fb *tests/data/fate/h264_redundant_pps-mov.h264
2187284 tests/data/fate/h264_redundant_pps-mov.h2642187284 tests/data/fate/h264_redundant_pps-mov.h264
3#tb 0: 1/243#tb 0: 1001/24000
4#media_type 0: video4#media_type 0: video
5#codec_id 0: rawvideo5#codec_id 0: rawvideo
6#dimensions 0: 640x3606#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