GST_STATIC_CAPS new format

Luis dArquer Luis.dArquer at lotusf1team.com
Fri Jan 23 06:21:39 PST 2015


Worked like a charm, thanks. Looks like the "fourcc" thing disappears on 1.0?

From: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] On Behalf Of Thornton, Keith
Sent: 23 January 2015 13:02
To: Discussion of the development of and with GStreamer
Subject: AW: GST_STATIC_CAPS new format

You might like to try "format = (string) RGB3, "

Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] Im Auftrag von Luis dArquer
Gesendet: Freitag, 23. Januar 2015 13:39
An: Discussion of the development of and with GStreamer
Betreff: GST_STATIC_CAPS new format

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.

Alternatively, if someone could point me to the documentation for the GST_STATIC_CAPS format, that should do it -I haven't been able to find it yet, surely myself to blame...

Thanks!

Luis

Luis dArquer

Lotus F1 Team

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

[Das Bild wurde vom Absender entfernt.]

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
-------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150123/91546754/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 823 bytes
Desc: image001.jpg
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150123/91546754/attachment.jpg>


More information about the gstreamer-devel mailing list