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.
This commit is contained in:
Edward Hervey 2008-12-12 19:41:28 +00:00
parent 552b5f5fcd
commit c5ae184910
4 changed files with 10 additions and 2 deletions

View file

@ -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:

2
common

@ -1 +1 @@
Subproject commit f811de62e9cea6e3d4174a0b172733b2c7952c1d
Subproject commit 1c24dce4e32f0a725ebd1b8ba2cd48d373818f75

View file

@ -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;
}

View file

@ -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;