gst/rtpmanager/rtpsource.c: Fix unref of buffer using the wrong function. Fixes...
authorOlivier Crete <tester@tester.ca>
Fri, 25 Jan 2008 01:44:27 +0000 (01:44 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 11 Aug 2009 01:30:33 +0000 (02:30 +0100)
Original commit message from CVS:
Patch by: Olivier Crete <tester@tester.ca>
* gst/rtpmanager/rtpsource.c: Fix unref of buffer using the
wrong function.  Fixes #511920

gst/rtpmanager/rtpsource.c

index c48c8d0..1938324 100644 (file)
@@ -878,7 +878,7 @@ rtp_source_process_rtp (RTPSource * src, GstBuffer * buffer,
         /* remove packets from queue if there are too many */
         while (g_queue_get_length (src->packets) > RTP_MAX_PROBATION_LEN) {
           q = g_queue_pop_head (src->packets);
-          gst_object_unref (q);
+          gst_buffer_unref (q);
         }
         goto done;
       }