[gst-devel] my plugin works in YUV but not in RGB
Michael Smith
msmith at fluendo.com
Fri May 19 07:17:04 CEST 2006
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.
For RGB, you'll also need bpp and depth values, and maybe endianness and
RGB masks (those might have defaults, though?)
Also, you should tell us what your pipeline IS, because without that
information we can't guess which element isn't accepting your caps.
Mike
More information about the gstreamer-devel
mailing list