diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2008-06-20 16:24:11 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2008-06-20 16:24:11 +0000 |
commit | b3ac90d9e88e0e3455b902084bd077fe7197d6a1 (patch) | |
tree | 14eded9edef1b82b19c1e4edae004a5c01de361d /gst/rtp/gstrtptheorapay.c | |
parent | d33bbb11767d3575a13f3f33d1c6740ed5ef529a (diff) |
gst/: Added debug.
Original commit message from CVS:
* gst/rtp/gstrtptheorapay.c:
* gst/udp/gstmultiudpsink.c:
Added debug.
Diffstat (limited to 'gst/rtp/gstrtptheorapay.c')
-rw-r--r-- | gst/rtp/gstrtptheorapay.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 | |