[gst-devel] GstBaseSink - getcaps

Stefan Kost ensonic at hora-obscura.de
Tue Sep 7 14:26:36 CEST 2010


On 02.09.2010 10:53, Julien Isorce wrote:
>
>
> 2010/9/1 Tim-Philipp Müller <t.i.m at zen.co.uk <mailto:t.i.m at zen.co.uk>>
>
>     On Wed, 2010-09-01 at 12:34 +0200, 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 but I think the
>     error
>     > should come from ximagesink.
>     >
>     > In ximagesink::gst_ximagesink_getcaps, the xcontext->caps is
>     setup to
>     > bpp=32 and depth=24, so I think at this point it should check that
>     > this is not compatible with the required caps from my capfilter.
>     >
>     > The error is:
>     > "videotestsrc0 : Could not negotiate format"
>     > and I think it should be:
>     > "ximagesink0 : Could not negotiate format"
>     >
>     > Any comment ?
>
>     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. I think
>     there's a
>     bug about this somewhere in bugzilla, but can't find it right now.
>     Feel
>     free to file a new one.
>
>     Cheers
>      -Tim
>
>
> Hi,
> Could you suggest me a tittle for bugzilla ? So we can find it easier.
> And in core or base ? 
> Julien 

Could be this one
https://bugzilla.gnome.org/show_bug.cgi?id=350545

Stefan

>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>   





More information about the gstreamer-devel mailing list