diff options
author | Ali Sabil <ali.sabil@gmail.com> | 2009-02-22 18:53:10 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-02-22 18:53:10 +0100 |
commit | cd1f18bd128319bcfd117bbceab92c8fcb6957c3 (patch) | |
tree | 885e19621125c865c2766f542c4c6f2df6371627 /plugins | |
parent | 136cfb3bed4aa4d9e4b4ebd20c9562078addd9a7 (diff) |
Use the correct unref function
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/elements/gstqueue.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/elements/gstqueue.c b/plugins/elements/gstqueue.c index 2146fe0f43..f0040fd1a0 100644 --- a/plugins/elements/gstqueue.c +++ b/plugins/elements/gstqueue.c @@ -810,14 +810,14 @@ out_flushing: GST_CAT_LOG_OBJECT (queue_dataflow, queue, "refusing event, we are flushing"); GST_QUEUE_MUTEX_UNLOCK (queue); - gst_buffer_unref (event); + gst_event_unref (event); return FALSE; } out_eos: { GST_CAT_LOG_OBJECT (queue_dataflow, queue, "refusing event, we are EOS"); GST_QUEUE_MUTEX_UNLOCK (queue); - gst_buffer_unref (event); + gst_event_unref (event); return FALSE; } } @@ -859,7 +859,7 @@ gst_queue_leak_downstream (GstQueue * queue) GST_CAT_DEBUG_OBJECT (queue_dataflow, queue, "queue is full, leaking item %p on downstream end", leak); - gst_buffer_unref (leak); + gst_mini_object_unref (leak); /* last buffer needs to get a DISCONT flag */ queue->head_needs_discont = TRUE; |