After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 511920 - rtpsource queue full tries to treat GstBuffer as GstObject
rtpsource queue full tries to treat GstBuffer as GstObject
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-01-24 22:54 UTC by Olivier Crête
Modified: 2008-01-25 09:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to use gst_mini_object_unref() on the buffers (995 bytes, patch)
2008-01-24 22:55 UTC, Olivier Crête
reviewed Details | Review

Description Olivier Crête 2008-01-24 22:54:53 UTC
When the queue is full, it uses gst_object_unref instead of gst_mini_object_unref
Comment 1 Olivier Crête 2008-01-24 22:55:21 UTC
Created attachment 103684 [details] [review]
Patch to use gst_mini_object_unref() on the buffers
Comment 2 David Schleef 2008-01-25 01:44:47 UTC
Yup.  Thanks.  Patch modified a bit.  (You can (and should) use gst_buffer_unref().)

2008-01-24  David Schleef  <ds@schleef.org>

        Patch by: Olivier Crete <tester@tester.ca>

        * gst/rtpmanager/rtpsource.c: Fix unref of buffer using the
          wrong function.  Fixes #511920