gstreamer last frame
Robson Ferreira
robsonferreira at snews.tv
Thu Apr 26 15:37:32 UTC 2018
yes, i`m using the about-to-finish signal right now... but i would like to
use the EOS message as well as manually send a next command to the
pipeline... and every time i do that i get a black frame when i use
gst_element_set_state(data->pipeline,
GST_STATE_READY);
2018-04-25 21:26 GMT-03:00 Nicolas Dufresne <nicolas at ndufresne.ca>:
>
>
> 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
>>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
--
[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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180426/ca416e4b/attachment.html>
More information about the gstreamer-devel
mailing list