GST_STATIC_CAPS new format
Lad, Prabhakar
prabhakar.csengg at gmail.com
Fri Jan 23 04:57:00 PST 2015
Hi,
On Fri, Jan 23, 2015 at 12:39 PM, Luis dArquer
<Luis.dArquer at lotusf1team.com> wrote:
> I was trying to set up a pad template for my plugin, based on an (old)
> example, and I got this:
>
>
>
> “ 0.10-style raw video caps are being created. Should be
> video/x-raw,format=(string).. now.”
>
>
>
> My GST_STATIC_CAPS declaration looks like this:
>
>
>
> “video/x-raw-rgb, “
>
> “ format=(fourcc)RGB3, “
>
> “ width=(int)160, “
>
> “ height=(int)100;”
>
>
>
> I understand I need to get something looking like “video/x-raw,
> format=(string)rgb,”, but what happens then with the fourcc bit? I’ve tried
> “video/x-raw,format=(fourcc)RGB3,…” but it didn’t like it.
>
>
format type is a 'string' now. You can refer this link [1], that will
help you understand.
[1] http://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/html/section-types-definitions.html
Cheers,
--Prabhakar Lad
More information about the gstreamer-devel
mailing list