[Bug 686327] mpegtsmux: fix refcount issue with input buffers

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Oct 21 07:42:39 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=686327
  GStreamer | gst-plugins-bad | 1.x

Jan Schmidt <thaytan> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|1.0.x                       |1.0.2

--- Comment #6 from Jan Schmidt <thaytan at noraisin.net> 2012-10-21 14:42:37 UTC ---
The patch is incorrect in that CollectPads passes a refcount to the buffer when
the callback is executed (it pops the buffer from the pad, and then passes it
to mpegtsmux).

The actual problem lies in the custom buffer clip function, where it calls
gst_buffer_make_writable on the same input pointer twice - the first time gives
away the reference to that buffer.

Fix pushed.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list