diff options
author | Edward Hervey <bilboed@bilboed.com> | 2008-12-12 19:41:28 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2008-12-12 19:41:28 +0000 |
commit | c5ae18491086953f5dcf6a194a7a16f1548c0bf0 (patch) | |
tree | 2ed5271d276aef8edf96e467d6ec330c4240b04d | |
parent | 552b5f5fcd844b89f31321a12165b654a24bb7a9 (diff) |
gst-libs/gst/cdda/gstcddabasesrc.c: Remove erroneous gst_buffer_ref().
Original commit message from CVS:
* gst-libs/gst/cdda/gstcddabasesrc.c:
(gst_cdda_base_src_handle_event):
Remove erroneous gst_buffer_ref().
* tests/check/libs/rtp.c: (GST_START_TEST):
Don't forget to unref the buffer once you're done with it.
-rw-r--r-- | ChangeLog | 8 | ||||
m--------- | common | 0 | ||||
-rw-r--r-- | gst-libs/gst/cdda/gstcddabasesrc.c | 1 | ||||
-rw-r--r-- | tests/check/libs/rtp.c | 1 |
4 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,11 @@ +2008-12-12 Edward Hervey <edward.hervey@collabora.co.uk> + + * gst-libs/gst/cdda/gstcddabasesrc.c: + (gst_cdda_base_src_handle_event): + Remove erroneous gst_buffer_ref(). + * tests/check/libs/rtp.c: (GST_START_TEST): + Don't forget to unref the buffer once you're done with it. + 2008-12-12 Stefan Kost <ensonic@users.sf.net> * gst/playback/gstplaybin.c: diff --git a/common b/common -Subproject f811de62e9cea6e3d4174a0b172733b2c7952c1 +Subproject 1c24dce4e32f0a725ebd1b8ba2cd48d373818f7 diff --git a/gst-libs/gst/cdda/gstcddabasesrc.c b/gst-libs/gst/cdda/gstcddabasesrc.c index 6e2999b0e..910d83e52 100644 --- a/gst-libs/gst/cdda/gstcddabasesrc.c +++ b/gst-libs/gst/cdda/gstcddabasesrc.c @@ -877,7 +877,6 @@ gst_cdda_base_src_handle_event (GstBaseSrc * basesrc, GstEvent * event) } default:{ GST_LOG_OBJECT (src, "let base class handle event"); - event = gst_event_ref (event); ret = GST_BASE_SRC_CLASS (parent_class)->event (basesrc, event); break; } diff --git a/tests/check/libs/rtp.c b/tests/check/libs/rtp.c index 346180086..bfc33ae49 100644 --- a/tests/check/libs/rtp.c +++ b/tests/check/libs/rtp.c @@ -355,6 +355,7 @@ GST_START_TEST (test_rtcp_buffer) /* close and validate */ gst_rtcp_buffer_end (buf); fail_unless (gst_rtcp_buffer_validate (buf) == TRUE); + gst_buffer_unref (buf); } GST_END_TEST; |