I'll see if I can post something reasonable in size, plus not completely torn apart.  <br><br>Yes I'm doing the state change in the callback.  Which I guess means I'm in the streaming thread, which might explain it.<br>
<br>Sure wish there was a nice detailed reference on gstreamer about what you can and can't do versus poking and prodding things.<br><br>My test project is simply handling EOS from a icecast server and switching to a new feed.  In short, if loss of signal (network failure, end of stream, etc), switch to a test signal (such as snow).  I think the trauma I'm having is basically understanding the abilities of oggdemux and theoradec upon EOS and what is necessary to re-instantiate/restart them.    <br>
<br>Yours truly,<br>Brian<br><br><br><div class="gmail_quote">On Sun, Sep 9, 2012 at 3:57 AM, Tim-Philipp Müller <span dir="ltr"><<a href="mailto:t.i.m@zen.co.uk" target="_blank">t.i.m@zen.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, 2012-09-09 at 00:03 -0700, Brian Quandt wrote:<br>
<br>
Hi Brian,<br>
<br>
> I'm not sure this works, ie I've already tried the set_state routes,<br>
> but I any attempt to change the state not returning from the state<br>
> change call, ie<br>
> sink.set_state(gst.STATE_NULL)<br>
> never returns, and no error messages.<br>
><br>
> This is gstreamer version 0.10, using python as my development<br>
> environment.<br>
<br>
Do you have a small test application that demonstrates your issue?<br>
<br>
Where are you doing the set_state call from? Are you doing it from a<br>
callback? (i.e. from the streaming thread not your application thread)<br>
<br>
Cheers<br>
 -Tim<br>
<br>
><br>
> On Fri, Sep 7, 2012 at 1:45 AM, Tim-Philipp Müller <<a href="mailto:t.i.m@zen.co.uk">t.i.m@zen.co.uk</a>><br>
> wrote<br>
>         On Thu, 2012-09-06 at 21:54 -0700, Brian Quandt wrote:<br>
><br>
>         > Is there a way to get an appsink out of EOS, after it has<br>
>         received<br>
>         > such a notification and now reports itself via its eos<br>
>         property as<br>
>         > being in EOS (ie eos property which is readonly is set to<br>
>         true)?<br>
>         ><br>
>         > Or do you have to just delete the element and recreate it<br>
>         and hook a<br>
>         > new one back into the bin?<br>
><br>
>         Either do a flushing seek on the pipeline (or the sink), or<br>
>         set the<br>
>         sink's state to NULL or READY and then back to PLAYING again.<br>
><br>
>         Cheers<br>
>          -Tim<br>
><br>
>         _______________________________________________<br>
>         gstreamer-devel mailing list<br>
>         <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
>         <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
><br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>