[gstreamer-bugs] [Bug 350545] Caps introspection debug option

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Sep 7 05:51:02 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=350545
  GStreamer | gstreamer (core) | git

Julien Isorce <julien.isorce> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |julien.isorce at gmail.com,
                   |                            |t.i.m at zen.co.uk

--- Comment #5 from Julien Isorce <julien.isorce at gmail.com> 2010-09-07 12:50:54 UTC ---
An other concrete illustration of this problem (from gst-devel mailing list) :

* Julien Isorce wrote:

If my X11 settings are 32 bpp then an annoying thing is that running
"gst-launch-0.10 videotestsrc ! "video/x-raw-rgb, bpp=16, depth=16" !
ximagesink" gives me an error from videotestsrc : 

"videotestsrc0 : Could not negotiate format"

But this is not really true, actually the fault is from ximagesink.

Because in ximagesink::gst_ximagesink_getcaps, the xcontext->caps is setup to
bpp=32 and depth=24, so I think at this point ximagesink should check that this
is not compatible with the required caps from my capfilter.

And so the error should be at least: "ximagesink0 : Could not negotiate format"


* Tim wrote

Well, yes. We should find a way to report errors like this better, no
doubt. Currently there's no way to communicate error state to the
upstream element that drives the pipeline and eventually errors out
though, it just knows the flow return and that's that.

Cheers
 -Tim

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