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

Stefan Sauer ensonic at hora-obscura.de
Fri Sep 16 12:53:14 PDT 2011


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
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110916/1c24b2e6/attachment.htm>


More information about the gstreamer-devel mailing list