[gst-devel] IP cameras

chmario chmario at hotmail.com
Fri Oct 8 19:12:29 CEST 2010


I am using:
GstCaps *videoCaps = gst_pad_get_caps(pad);
GstStructure *str = gst_caps_get_structure (videoCaps, i);
gst_structure_get_int (str, "width", &width);

But seams that there is no width property of the type int.

So I use  gst_structure_n_fields (str),  gst_structure_nth_field_name(str,
j) to inspect the fields, I found:
field0: width type: GstIntRange
field1: height type: GstIntRange
field2: framerate type: GstFractionRange
field3: format type: GstFourcc

There is a width and hight but of the type GstIntRange, so seams that is not
set to a specific value.

-----
MChC
-- 
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/IP-cameras-tp2954912p2968730.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.




More information about the gstreamer-devel mailing list