<div dir="ltr">yes, i`m using the about-to-finish signal right now... but i would like<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"> 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 </span>gst_element_set_state(data->pipeline, GST_STATE_READY);</div><div class="gmail_extra"><br><div class="gmail_quote">2018-04-25 21:26 GMT-03:00 Nicolas Dufresne <span dir="ltr"><<a href="mailto:nicolas@ndufresne.ca" target="_blank">nicolas@ndufresne.ca</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><span class=""><div><br><br><div class="gmail_quote"><div dir="ltr">Le mer. 25 avr. 2018 15:27, Robson Ferreira <<a href="mailto:robsonferreira@snews.tv" target="_blank">robsonferreira@snews.tv</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>hi, </div><div><br></div><div>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:</div><div><br></div><div><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback";font-weight:normal;font-size:14px;line-height:19px;white-space:pre-wrap"><div><span style="color:rgb(220,220,170)">gst_element_set_state</span><span style="color:rgb(212,212,212)">(data-></span><span style="color:rgb(156,220,254)">pi<wbr>peline</span><span style="color:rgb(212,212,212)">, GST_STATE_READY);</span></div><div><span style="color:rgb(220,220,170)">g_object_set</span>(data-><span style="color:rgb(156,220,254)">playbin</span>, <span style="color:rgb(206,145,120)">"uri"</span>, nexItem, <span style="color:rgb(86,156,214)">NULL</span>);<br></div><div><span style="color:rgb(220,220,170)">gst_element_set_state</span>(data-><span style="color:rgb(156,220,254)">pi<wbr>peline</span>, GST_STATE_PLAYING);</div></div></div><div><br></div><div>i lose the last frame rendered. Is there a way to keep the last frame until i finish preparing the next file?</div></div></blockquote></div></div><div dir="auto"><br></div></span><div dir="auto">You could use the about-to-finish signal to set the next URI, instead of resetting the pipeline.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><div dir="ltr"><div><br></div><div><br></div><br clear="all"><div><br></div>-- <br><div class="m_1358062310956652183m_1461045728999582818gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif;font-size:14.08px"><div style="float:left;margin-right:5px;height:92px"><a href="http://snews.tv/" title="snews.tv" style="color:rgb(17,85,204)" rel="noreferrer" target="_blank"><img alt="Marketing" src="http://snews.tv/ass/asshtml/images/logo.png" width="200px;"></a></div><div style="float:left;height:92px"><b>Robson Ferreira</b> <br>Desenvolvedor Jr. <br><a href="mailto:robsonferreira@snews.tv" title="robsonferreira@snews.tv" style="color:rgb(17,85,204)" rel="noreferrer" target="_blank">robsonferreira@snews.tv</a> <br>+55 61 3044.7878 <br><a href="http://snews.tv/" title="snews.tv" style="color:rgb(17,85,204)" rel="noreferrer" target="_blank">snews.tv</a></div></div><div style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif;font-size:14.08px;clear:both"><p>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.</p></div><div><div dir="ltr"></div></div></div></div>
</div></span>
______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" rel="noreferrer" target="_blank">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
</blockquote></div></div></div>
<br>______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif;font-size:14.08px"><div style="float:left;margin-right:5px;height:92px"><a href="http://snews.tv/" title="snews.tv" style="color:rgb(17,85,204)" target="_blank"><img alt="Marketing" src="http://snews.tv/ass/asshtml/images/logo.png" width="200px;"></a></div><div style="float:left;height:92px"><b>Robson Ferreira</b> <br>Desenvolvedor Jr. <br><a href="mailto:robsonferreira@snews.tv" title="robsonferreira@snews.tv" style="color:rgb(17,85,204)" target="_blank">robsonferreira@snews.tv</a> <br>+55 61 3044.7878 <br><a href="http://snews.tv/" title="snews.tv" style="color:rgb(17,85,204)" target="_blank">snews.tv</a></div></div><div style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif;font-size:14.08px;clear:both"><p>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.</p></div><div><div dir="ltr"></div></div></div></div>
</div>