[Bug 666174] [ffdec] segfault because gst_pad_alloc_buffer_and_set_caps return a buffer with a size of 0

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Dec 14 05:58:03 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=666174
  GStreamer | gst-ffmpeg | git

Sebastian Dröge <slomo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |slomo at circular-chaos.org
     Ever Confirmed|0                           |1

--- Comment #2 from Sebastian Dröge <slomo at circular-chaos.org> 2011-12-14 13:58:00 UTC ---
I see, this (and probably the a52dec crash) isn't simply fixed by using
gst_pad_use_fixed_caps() on the srcpad because capsfilter will still allocate
the first buffer itself now after one of the capsfilter changes recently.

a52dec and ffdec must check the size of the buffer in any case, checking the
caps is not required though. Want to provide a patch? If the size is < the
expected size a new buffer should be allocated manually.

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