gst/rtp/gstrtptheoradepay.c: Improve debugging of the ident.

Original commit message from CVS:
* gst/rtp/gstrtptheoradepay.c: (gst_rtp_theora_depay_process):
Improve debugging of the ident.
This commit is contained in:
Wim Taymans 2008-05-21 10:09:23 +00:00
parent 570718c2fe
commit 0a18ec7d8d
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtp/gstrtptheoradepay.c: (gst_rtp_theora_depay_process):
Improve debugging of the ident.
2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk> 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
Patch by: Bruno Santos <brunof at ua dot pt> Patch by: Bruno Santos <brunof at ua dot pt>

View file

@ -475,6 +475,9 @@ gst_rtp_theora_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf)
F = (header & 0xc0) >> 6; F = (header & 0xc0) >> 6;
packets = (header & 0xf); packets = (header & 0xf);
GST_DEBUG_OBJECT (depayload, "ident: 0x%08x, F: %d, TDT: %d, packets: %d",
ident, F, TDT, packets);
if (TDT == 0) { if (TDT == 0) {
gboolean do_switch = FALSE; gboolean do_switch = FALSE;
@ -497,9 +500,6 @@ gst_rtp_theora_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf)
payload += 4; payload += 4;
payload_len -= 4; payload_len -= 4;
GST_DEBUG_OBJECT (depayload, "ident: %u, F: %d, TDT: %d, packets: %d", ident,
F, TDT, packets);
/* fragmented packets, assemble */ /* fragmented packets, assemble */
if (F != 0) { if (F != 0) {
GstBuffer *vdata; GstBuffer *vdata;