Switching to a different video while another video is being played.

Ed Colgan ecolgan at cardinalpeak.com
Wed Nov 13 17:09:11 UTC 2019


Destroy the current pipeline and create a new one with the new file name.

On Wed, Nov 13, 2019 at 5:00 AM Krishna, Shyam <shyam.krishna at philips.com>
wrote:

> Hello,
>
>
>
>                I am using playbin to play a video file on my local disk.
> Is it possible to change the video to a different file on the click of a
> button ?
>
> I tried using g_object_set(G_OBJECT(data->pipeline), "uri", next_uri, NULL
> ); in the click event handler for the button. But it is not working..
>
>
>
> Best Regards,
>
> Shyam
>
> ------------------------------
> The information contained in this message may be confidential and legally
> protected under applicable law. The message is intended solely for the
> addressee(s). If you are not the intended recipient, you are hereby
> notified that any use, forwarding, dissemination, or reproduction of this
> message is strictly prohibited and may be unlawful. If you are not the
> intended recipient, please contact the sender by return e-mail and destroy
> all copies of the original message.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20191113/a721b1c5/attachment.html>


More information about the gstreamer-devel mailing list