summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtptheorapay.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtp/gstrtptheorapay.c')
-rw-r--r--gst/rtp/gstrtptheorapay.c4
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 |