GNOME Bugzilla – Bug 596092
reusing playbin2 to extract tags from various files fails
Last modified: 2010-03-21 12:10:34 UTC
Created attachment 143809 [details] Testprogram If I run the attached program on a bunch of media files it sometimes is missing the state-change callback from READY to PLAYBACK. No error callback is given in that case. It most notably occures on flac files, i.e. I can reproduce it perfectly when passing the same flac file twice on the commandline, but also passing an oga and a flac file hangs quite reliably, though I had it also hanging on JPEG files. Using the same program with the gstreamer libraries of Ubuntu 9.04 does not show this behaviour (0.10.22)
I forgot: not using the fakesinks also makes the state change appear.
Jens, if you are interested in metadata retival, please also consider trying the patches in bug #564749.
Jens: does this still happen with the latest GStreamer releases? (Or ideally, the current pre-releases as per GStreamer PPA) I can't reproduce this with current git/prereleases at all, using your test program.
Also: you don't ever seem to set playbin back to NULL or READY state after it prerolled and you got your tags - is that really what you want? I'm surprised that worked at all for multiple files..
(In reply to comment #4) > Also: you don't ever seem to set playbin back to NULL or READY state after it > prerolled and you got your tags - is that really what you want? I'm surprised > that worked at all for multiple files.. line 26: gst_element_set_state (playbin, GST_STATE_NULL); I will check if it still occures
Seems to be gone. Does not occur on debian unstable or on git master