After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 644989 - appsink cannot go from PLAYING -> NULL -> PLAYING
appsink cannot go from PLAYING -> NULL -> PLAYING
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.30
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-03-17 08:50 UTC by Aurimas Juška
Modified: 2012-11-29 14:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test: add playbin test with appsink (3.40 KB, patch)
2012-11-29 14:55 UTC, Tim-Philipp Müller
none Details | Review

Description Aurimas Juška 2011-03-17 08:50:47 UTC
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 http://gstreamer-devel.966125.n4.nabble.com/appsink-cannot-go-from-PLAYING-gt-NULL-gt-PLAYING-td2306480.html )
Comment 1 Tim-Philipp Müller 2012-11-29 14:55:01 UTC
Created attachment 230198 [details] [review]
 test: add playbin test with appsink

Seems to work fine in 1.x, closing.