mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
Register the available track IDs for the MPEG PS reader so that no warning is printed for correct --xtracks arguments.
This commit is contained in:
parent
4573595412
commit
6dd43f653f
@ -827,6 +827,14 @@ mpeg_ps_reader_c::create_packetizers() {
|
||||
create_packetizer(i);
|
||||
}
|
||||
|
||||
void
|
||||
mpeg_ps_reader_c::add_available_track_ids() {
|
||||
int i;
|
||||
|
||||
for (i = 0; i < tracks.size(); i++)
|
||||
available_track_ids.push_back(i);
|
||||
}
|
||||
|
||||
file_status_e
|
||||
mpeg_ps_reader_c::read(generic_packetizer_c *,
|
||||
bool) {
|
||||
|
@ -102,6 +102,7 @@ public:
|
||||
virtual void identify();
|
||||
virtual void create_packetizer(int64_t id);
|
||||
virtual void create_packetizers();
|
||||
virtual void add_available_track_ids();
|
||||
|
||||
virtual void found_new_stream(int id);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user