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

Kirill Kirichenko kirill.kirichenko at gmail.com
Fri Jul 18 12:46:28 CEST 2008


On Thu, Jul 17, 2008 at 1:21 AM, Ash <hashbrown100 at hotmail.com> wrote:
> 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?
There is no way of doing that.
You can provide your own videosink and set up all properties you need.




More information about the gstreamer-devel mailing list