How can I emulate "video-sink" linkage of playbin2 with an existing bin?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How can I emulate "video-sink" linkage of playbin2 with an existing bin?

Won J Jeon
Hi all,

playbin2 uses a simple mechanism to specify the video sink of the next bin by using:
g_object(<playbin2>, "video-sink", <sinkbin>, NULL);

With the same <sinkbin>, I'd like to replace playbin2 with another (let's say v4l2src+fakesink), but would like to maintain the same linkage mechanism as playbin2 (as seen above). Can I add "video-sink" property to an existing bin (such as fakesink)? If not, is there any other way to achieve this?

Regards,
Won


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How can I emulate "video-sink" linkage of playbin2 with an existing bin?

Stefan Sauer
On 09/12/11 23:04, Won J Jeon wrote:
Hi all,

playbin2 uses a simple mechanism to specify the video sink of the next bin by using:
g_object(<playbin2>, "video-sink", <sinkbin>, NULL);

With the same <sinkbin>, I'd like to replace playbin2 with another (let's say v4l2src+fakesink), but would like to maintain the same linkage mechanism as playbin2 (as seen above). Can I add "video-sink" property to an existing bin (such as fakesink)? If not, is there any other way to achieve this?

Your question is not totally clear. If you have a v4l2src ! fakesink, you already have a sink.

Stefan

Regards,
Won

_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel