<p dir="ltr">Please run app with GST_DEBUG=*:4 environment variable and read carefully if there was no message indicating error prior to hang.  Usually there's something that can point you to the right direction. </p>
<p dir="ltr">Seeking is also buggy for some formats -  see <a href="https://bugzilla.gnome.org/show_bug.cgi?id=766673">https://bugzilla.gnome.org/show_bug.cgi?id=766673</a></p>
<p dir="ltr">M. </p>
<div class="gmail_quote">08.07.2016 4:32 PM "Gottfried Haider" <<a href="mailto:gottfried.haider@gmail.com">gottfried.haider@gmail.com</a>> napisał(a):<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all,<br>
<br>
I have a playbin-based pipeline of a local file. I don't want playback<br>
to begin immediately, but want to be able to e.g. seek to a specific<br>
position or retrieve the length of the file first.<br>
<br>
On Linux, I was able to to initially set my pipeline's state to<br>
paused, and - when a seek or similar was requested - wait for the<br>
asynchronous state change to complete, at which point the seek would<br>
succeed. On OS X, however, the asynchronous state change will never<br>
complete, and the pipeline hovers between ready and paused forever.<br>
<br>
Any idea what I am doing wrong here? This is with GStreamer 1.8.1.<br>
<br>
<br>
The setup of my pipeline would be here:<br>
<a href="https://github.com/gohai/processing-glvideo/blob/740d2f0d7b8222306d9723149496bce2c01be80a/src/native/impl.c#L437" rel="noreferrer" target="_blank">https://github.com/gohai/processing-glvideo/blob/740d2f0d7b8222306d9723149496bce2c01be80a/src/native/impl.c#L437</a><br>
<br>
My seek method:<br>
<a href="https://github.com/gohai/processing-glvideo/blob/740d2f0d7b8222306d9723149496bce2c01be80a/src/native/impl.c#L602" rel="noreferrer" target="_blank">https://github.com/gohai/processing-glvideo/blob/740d2f0d7b8222306d9723149496bce2c01be80a/src/native/impl.c#L602</a><br>
<br>
At this point, gst_element_get_state() will forever return<br>
GST_STATE_CHANGE_ASYNC with current state being GST_STATE_READY and<br>
pending state being GST_STATE_PAUSED.<br>
<br>
<br>
Any ideas would be greatly apprechiated.<br>
<br>
Best<br>
Gottfried<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>