GST_STATIC_CAPS new format

Luis dArquer Luis.dArquer at lotusf1team.com
Fri Jan 23 06:18:31 PST 2015


Thanks for the link, just what I was looking for!
Luis

-----Original Message-----
From: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] On Behalf Of Lad, Prabhakar
Sent: 23 January 2015 12:57
To: Discussion of the development of and with GStreamer
Subject: Re: GST_STATIC_CAPS new format

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
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

Luis dArquer

Lotus F1 Team

T +44 (0) 1608 678000
M
E Luis.dArquer at lotusf1team.com
www.lotusf1team.com

[http://www.lotusf1team.com/assets/lf1.jpg]

Lotus F1 Team Limited
Enstone - Oxfordshire - OX7 4EE - England

-------------------------------------------
Lotus F1 Team Limited Registered in England no. 1806337 Registered Office: 16 Old Bailey London EC4M 7EG WARNING: please ensure that you have adequate virus protection in place before you open or detach any documents attached to this email. This e-mail may constitute privileged information. If you are not the intended recipient, you have received this confidential email and any attachments transmitted with it in error and you must not disclose, copy, circulate or in any other way use or rely on this information. E-mails to and from Lotus F1 Team are monitored for operational reasons and in accordance with lawful business practices. The contents of this email are those of the individual and do not necessarily represent the views of the company. Please note that this e-mail has been created in the knowledge that Internet e-mail is not a 100% secure communications medium. We advise that you understand and observe this lack of security when e-mailing us. If you have received this email in error please forward to: is.servicedesk at lotusf1team.com quoting the sender, then delete the message and any attached documents
-------------------------------------------


More information about the gstreamer-devel mailing list