mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-26 21:03:57 +00:00
Always set VC1 track as "probed OK"
This commit is contained in:
parent
52f6f8ce4d
commit
4b930d2ccb
@ -229,6 +229,11 @@ mpeg_ts_track_c::new_stream_v_avc() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
mpeg_ts_track_c::new_stream_v_vc1() {
|
||||
return 0 == pes_payload->get_size() ? FILE_STATUS_MOREDATA : 0;
|
||||
}
|
||||
|
||||
int
|
||||
mpeg_ts_track_c::new_stream_a_mpeg() {
|
||||
mp3_header_t header;
|
||||
@ -823,6 +828,8 @@ mpeg_ts_reader_c::probe_packet_complete(mpeg_ts_track_ptr &track,
|
||||
result = track->new_stream_v_mpeg_1_2();
|
||||
else if (FOURCC('A', 'V', 'C', '1') == track->fourcc)
|
||||
result = track->new_stream_v_avc();
|
||||
else if (FOURCC('W', 'V', 'C', '1') == track->fourcc)
|
||||
result = track->new_stream_v_vc1();
|
||||
|
||||
track->pes_payload->set_chunk_size(512 * 1024);
|
||||
|
||||
|
@ -221,6 +221,7 @@ public:
|
||||
|
||||
int new_stream_v_mpeg_1_2();
|
||||
int new_stream_v_avc();
|
||||
int new_stream_v_vc1();
|
||||
int new_stream_a_mpeg();
|
||||
int new_stream_a_ac3();
|
||||
int new_stream_a_dts();
|
||||
|
Loading…
Reference in New Issue
Block a user