[gst-devel] my plugin works in YUV but not in RGB

Corentin BARON corentin.baron at inrialpes.fr
Fri May 19 08:29:06 CEST 2006


Le 19 mai 06 à 16:16, Michael Smith a écrit :

> On Fri, 2006-05-19 at 16:05 +0200, Corentin BARON wrote:
>> As said in the subject, gstreamer refuses to accept my plugin with
>> RGB output, whereas it works perfectly in YUV.
>>
>> My pad template specifies this :
>>
>>> video/x-raw-yuv, width = (int) [1, 2147483647], height = (int) [1,
>>> 2147483647], framerate = (double) [0.0, 100.0];
>>> video/x-raw-rgb, width = (int) [1, 2147483647], height = (int) [1,
>>> 2147483647], framerate = (double) [0.0, 100.0];
>
> Both of these are completely wrong for 0.10, so perhaps you're still
> using 0.8? You should certainly upgrade. In 0.10, framerate is a
> GstFraction, not a double.

We're working on Maemo 1.1, so it's GStreamer 0.8.11 (Maemo 2.0 with  
a gst-0.10 may be out soon from Nokia, waiting it).

> For RGB, you'll also need bpp and depth values, and maybe  
> endianness and
> RGB masks (those might have defaults, though?)

bpp, depth and rgb masks are told by my getcaps() function.

Thx,
Corentin.





More information about the gstreamer-devel mailing list