[gst-devel] How to get "video-sink" from playbin

Ash hashbrown100 at hotmail.com
Wed Jul 16 23:21:08 CEST 2008


Hello,
If I use playbin to automatically create a pipeline, and I want to force-aspect-ratio on the video sink, I have trouble trying a 
 
g_object_get(G_OBJECT(playbin), "video-sink", &m_videosink, NULL);
 
During playback, if I query for video-sink on playbin, it returns NULL. How do I get the video-sink from the pipeline and set the force-aspect-ratio?
_________________________________________________________________
Stay in touch when you're away with Windows Live Messenger.
http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_messenger2_072008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080716/eac9617e/attachment.htm>


More information about the gstreamer-devel mailing list