From a5a59d4a8c2afb37f574c3b26e38dbbe00b933e3 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Sat, 17 Sep 2011 00:40:22 +0200 Subject: [PATCH] Only add track IDs for tracks that have probed as OK --- src/input/r_mpeg_ts.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/input/r_mpeg_ts.cpp b/src/input/r_mpeg_ts.cpp index 23e3503e7..78b171d14 100644 --- a/src/input/r_mpeg_ts.cpp +++ b/src/input/r_mpeg_ts.cpp @@ -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