gstreamer last frame

Nicolas Dufresne nicolas at ndufresne.ca
Thu Apr 26 00:26:53 UTC 2018


Le mer. 25 avr. 2018 15:27, Robson Ferreira <robsonferreira at snews.tv> a
écrit :

> hi,
>
> i`m trying to implement a pipeline using playbin and then when it receives
> a EOS message prepares another uri to play, but when i use this code:
>
> gst_element_set_state(data->pipeline, GST_STATE_READY);
> g_object_set(data->playbin, "uri", nexItem, NULL);
> gst_element_set_state(data->pipeline, GST_STATE_PLAYING);
>
> i lose the last frame rendered. Is there a way to keep the last frame
> until i finish preparing the next file?
>

You could use the about-to-finish signal to set the next URI, instead of
resetting the pipeline.


>
>
>
> --
> [image: Marketing] <http://snews.tv/>
> *Robson Ferreira*
> Desenvolvedor Jr.
> robsonferreira at snews.tv
> +55 61 3044.7878
> snews.tv
>
> This message is intended exclusively for its addressee and may contain
> information that is confidential and protected by a professional privilege
> or whose disclosure is prohibited by law. Unauthorized use of such
> information is prohibited and subject to applicable penalties.
> _______________________________________________
> 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/20180426/1a051525/attachment.html>


More information about the gstreamer-devel mailing list