Add debug output for DVB subtitles
Add useful traces in dvb_subtitle_decoder.c that assists us in figuring out DVB subtitle issues. The traces need to be enabled by a new parameter (add it to param.c). They will always include the PTS as well as the most relevant (or all) information.
For example, in the function dvbsub_decode we could output
[9:41]
DVBSUB - PTS: xxxxxxxxxxxx, FTS: XXX segment type: XXX
dvbsub_parse_page_segment could display the DVBSUB - PTS: xxxxxxxxxxxx, FTS: XXX - page segment start Page status: XXX Adding region: 0 Adding region: 1 ... DVBSUB - PTS: xxxxxxxxxxxx, FTS: XXX - page segment end etc
The exact info to write for exact segment type is left to the coder... try to write useful information. If you don't know what's useful, you need to process a few DVB files in a debugger so you start noticing what's relevant to timing, flow, etc.