[Bug 644989] New: appsink cannot go from PLAYING -> NULL -> PLAYING

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Mar 17 01:50:50 PDT 2011

  GStreamer | gst-plugins-base | 0.10.30

           Summary: appsink cannot go from PLAYING -> NULL -> PLAYING
    Classification: Desktop
           Product: GStreamer
           Version: 0.10.30
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: aurimas.juska at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
      GNOME target: ---
     GNOME version: ---

Since someone else also encountered the issue and described it nicely in
mailing-list, copy-pasting the description here:
"I am using an appsink on a playbin2 element to get raw decoded frames for a
video. Whenever the first file in my playlist is done playing (hits EOS
signal), I try to set the state to NULL (then change the playbin "uri" property
to go to the next video) and then back to PLAYING from my main thread, but
setting the state to playing always returns ASYNC and no amount of timeout to
get_state() after that seems to be enough for it to go to playing state, it
just blocks forever. When I don't use an appsink and just send the video
directly to a normal video sink (e.g. glimagesink), it works as expected."
(Description taken from

Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the gstreamer-bugs mailing list