From b3ac90d9e88e0e3455b902084bd077fe7197d6a1 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Fri, 20 Jun 2008 16:24:11 +0000 Subject: gst/: Added debug. Original commit message from CVS: * gst/rtp/gstrtptheorapay.c: * gst/udp/gstmultiudpsink.c: Added debug. --- gst/rtp/gstrtptheorapay.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gst/rtp') diff --git a/gst/rtp/gstrtptheorapay.c b/gst/rtp/gstrtptheorapay.c index 922152e6..598e4938 100644 --- a/gst/rtp/gstrtptheorapay.c +++ b/gst/rtp/gstrtptheorapay.c @@ -280,8 +280,10 @@ gst_rtp_theora_pay_finish_headers (GstBaseRTPPayload * basepayload) GST_DEBUG_OBJECT (rtptheorapay, "finish headers"); - if (!rtptheorapay->headers) + if (!rtptheorapay->headers) { + GST_DEBUG_OBJECT (rtptheorapay, "We need 2 headers but have none"); goto no_headers; + } /* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ * | Number of packed headers | -- cgit