Only add track IDs for tracks that have probed as OK

This commit is contained in:
Moritz Bunkus 2011-09-17 00:40:22 +02:00
parent 8defa81dcc
commit a5a59d4a8c

View File

@ -1049,7 +1049,8 @@ mpeg_ts_reader_c::add_available_track_ids() {
size_t i;
for (i = 0; i < tracks.size(); i++)
add_available_track_id(i);
if (tracks[i]->probed_ok)
add_available_track_id(i);
}
int