Write some more debugging entries in the log

Original commit message from CVS:
Write some more debugging entries in the log
This commit is contained in:
Wim Taymans 2002-11-02 13:40:30 +00:00
parent c825677105
commit 29471dd7c7
2 changed files with 6 additions and 1 deletions

View file

@ -235,7 +235,6 @@ gst_mpeg_demux_send_data (GstMPEGParse *mpeg_parse, GstData *data, GstClockTime
switch (GST_EVENT_TYPE (event)) {
default:
//g_print ("demux: default event %d\n", GST_EVENT_TYPE (event));
gst_pad_event_default (mpeg_parse->sinkpad, event);
break;
}
@ -727,6 +726,10 @@ gst_mpeg_demux_parse_pes (GstMPEGParse *mpeg_parse, GstBuffer *buffer)
headerlen += 1;
datalen -= 1;
}
else {
GST_DEBUG (0,"mpeg_demux::parse_packet: 0x%02X: unkonwn id %x",
id, ps_id_code);
}
/* private_stream_1 */
} else if (id == 0xBF) {
GST_DEBUG (0,"mpeg_demux: we have a private_stream_2 packet");

View file

@ -306,6 +306,8 @@ gst_mpeg_parse_parse_packhead (GstMPEGParse *mpeg_parse, GstBuffer *buffer)
MPEGTIME_TO_GSTTIME (mpeg_parse->current_scr));
if (mpeg_parse->previous_scr > mpeg_parse->current_scr) {
GST_DEBUG (0, "mpeg_parse: discontinuity detected %llu (%llu)",
mpeg_parse->previous_scr, mpeg_parse->current_scr);
mpeg_parse->discont_pending = TRUE;
}