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 596092 - reusing playbin2 to extract tags from various files fails
reusing playbin2 to extract tags from various files fails
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: dont know
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-09-23 16:39 UTC by Jens Georg
Modified: 2010-03-21 12:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Testprogram (2.69 KB, text/x-csrc)
2009-09-23 16:39 UTC, Jens Georg
Details

Description Jens Georg 2009-09-23 16:39:51 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)
Comment 1 Jens Georg 2009-09-23 16:40:38 UTC
I forgot: not using the fakesinks also makes the state change appear.
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2009-09-28 19:24:55 UTC
Jens, if you are interested in metadata retival, please also consider trying the patches in bug #564749.
Comment 3 Tim-Philipp Müller 2010-02-28 20:47:39 UTC
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.
Comment 4 Tim-Philipp Müller 2010-02-28 20:51:33 UTC
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..
Comment 5 Jens Georg 2010-03-17 15:03:40 UTC
(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
Comment 6 Jens Georg 2010-03-21 12:03:12 UTC
Seems to be gone. Does not occur on debian unstable or on git master