[gstreamer-bugs] [Bug 589663] gstreamer asserts in gstaudiofilter

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Jul 28 22:38:12 PDT 2009


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

  GStreamer | gstreamer (core) | Ver: 0.10.23




------- Comment #4 from Sebastian Dröge  2009-07-29 05:38 UTC -------
Why doesn't it work here? incaps is a subset of outcaps (they are the same
except that outcaps has the additional endianness field, which shouldn't be
there for 8 bit anyway btw).

If there should be an assertion or not should be discussed though. I've talked
with ds about this 1-2 years ago and the reason why he added it was, that audio
filters by definition are working on one format and don't convert it to
something else. I agree that in that context the is_equal() is wrong but
is_always_compatible() would be the correct thing to do (in/outcaps must
describe the same format but outcaps can be more specific, i.e. can have more
fields).

What do you think? Shall we remove the assertion (and the informat==outformat
restriction) from audiofilter?


-- 
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=589663.




More information about the Gstreamer-bugs mailing list