* demux.c Add useful info in TS discontinuity and transport_error warnings.
Before this patch TS discontinuity and transport_error warnings were missing vital info that can help to pinpoint stream problems. The messages were looking like this: warning: TS discontinuity warning: transport_error_indicator on pid 1234 With this patch a lot useful info is added to the messages. PID, how much continuity counters differ, service id and stream type. The changed messages look like this: transport_error_indicator on pid %hu warning: TS discontinuity on pid 514 expected_cc 1 got 11 (H.264/14496-10 video (MPEG-4/AVC), sid 2005) warning: TS discontinuity on pid 48 expected_cc 15 got 12 (EMM, sid 0) warning: TS discontinuity on pid 774 expected_cc 0 got 2 (13818-3 audio (MPEG-2), sid 2015) warning: TS discontinuity on pid 0 expected_cc 11 got 12 (PAT, sid 0) warning: TS discontinuity on pid 2000 expected_cc 13 got 14 (PMT, sid 2020) warning: transport_error_indicator on pid 2000 (PMT, sid 2020)
Showing
Please register or sign in to comment