How to set "format" in caps

Baby Octopus jagadishkamathk at gmail.com
Sat May 11 01:16:01 PDT 2013


Hi,

I want to know how to set "format" in video caps. 

caps = gst_caps_new_simple ("video/x-raw-yuv",
"format", GST_TYPE_FOURCC, GST_MAKE_FOURCC (’I’, ’4’, ’2’, ’0’),
"width", G_TYPE_INT, 384,
"height", G_TYPE_INT, 288,
"framerate", GST_TYPE_FRACTION, 25, 1,
NULL);

The above which is present in gstreamer manual doesn't work for 1.0 since
GST_TYPE_FOURCC is missing in gstvalue.h header file

~BO



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-set-format-in-caps-tp4659885.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list