State change to Paused never completes on OS X

marcin at saepia.net marcin at saepia.net
Sat Jul 9 07:25:42 UTC 2016


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.

Seeking is also buggy for some formats -  see
https://bugzilla.gnome.org/show_bug.cgi?id=766673

M.
08.07.2016 4:32 PM "Gottfried Haider" <gottfried.haider at gmail.com>
napisaƂ(a):

> Hello all,
>
> I have a playbin-based pipeline of a local file. I don't want playback
> to begin immediately, but want to be able to e.g. seek to a specific
> position or retrieve the length of the file first.
>
> On Linux, I was able to to initially set my pipeline's state to
> paused, and - when a seek or similar was requested - wait for the
> asynchronous state change to complete, at which point the seek would
> succeed. On OS X, however, the asynchronous state change will never
> complete, and the pipeline hovers between ready and paused forever.
>
> Any idea what I am doing wrong here? This is with GStreamer 1.8.1.
>
>
> The setup of my pipeline would be here:
>
> https://github.com/gohai/processing-glvideo/blob/740d2f0d7b8222306d9723149496bce2c01be80a/src/native/impl.c#L437
>
> My seek method:
>
> https://github.com/gohai/processing-glvideo/blob/740d2f0d7b8222306d9723149496bce2c01be80a/src/native/impl.c#L602
>
> At this point, gst_element_get_state() will forever return
> GST_STATE_CHANGE_ASYNC with current state being GST_STATE_READY and
> pending state being GST_STATE_PAUSED.
>
>
> Any ideas would be greatly apprechiated.
>
> Best
> Gottfried
> _______________________________________________
> 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/20160709/a55fc585/attachment.html>


More information about the gstreamer-devel mailing list