[gstreamer-bugs] [Bug 551509] gst_base_transform_prepare_output_buffer: assertion failed: (*out_buf != NULL)

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Sep 24 15:20:46 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=551509

  GStreamer | gstreamer (core) | Ver: HEAD CVS




------- Comment #6 from Jan Schmidt  2008-09-24 22:20 UTC -------
Created an attachment (id=119338)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=119338&action=view)
alternative patch

I think the real bug here is that capsfilter can't apply incompletely specified
caps to a buffer, so in the case where it's been asked to (the incoming buffers
have no caps, but capsfilter has some filtercaps) it should error out if the
result is not completely fixed.

As an aside, I converted the assert in basetransform into a GST_FLOW_ERROR,
because while the sub-class should be providing a buffer or erroring in all
cases, it doesn't have to lead to an assert when a runtime error would be
better.

Changed the unit test to check that in fact the test case does *not* succeed in
producing output buffers.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=551509.




More information about the Gstreamer-bugs mailing list