Set video position in videomixer

Stefan Sauer ensonic at hora-obscura.de
Sun Jul 8 11:40:08 PDT 2012


On 07/07/2012 12:40 PM, bboyavatar wrote:
> Hello! I use "videomixer name=mixer sink_1::xpos=176 sink_1::ypos=144" to set
> video position in pipeline, and it works well. How to write it in C codes as
> "sink_%d::xpos" is not a propertity of videomixer? I try to use 
> pad=gst_element_get_static_pad(mixer,"sink_1") to get the sink_1 pad, but
> what to do next? 

gst_child_proxy_set(videomixer, "sink_1::xpos",176,
"sink_1::ypos",144,NULL);
or even
gst_child_proxy_set(pipeline, "mixer::sink_1::xpos",176,
"mixer::sink_1::ypos",144,NULL);

Stefan

>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Set-video-position-in-videomixer-tp4655534.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




More information about the gstreamer-devel mailing list