[gstreamer-bugs] [Bug 538176] New: State change trouble with decodebin and empty files
bugzilla-daemon at bugzilla.gnome.org
Fri Jun 13 10:50:23 PDT 2008
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
GStreamer | gstreamer (core) | Ver: 0.10.18
Summary: State change trouble with decodebin and empty files
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: jorn at openedhand.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
We have a pipeline containing a decodebin linked to a fakesink for metadata
retrieval. On every file processed, the previous source element (if any) is
replaced by a new source element using gst_element_make_from_uri().
gst_bus_add_signal_watch() is used to get signals off the bus.
This all works well until one tries to load an empty file. Any consequent
playback attempts have the following effects:
1) No tag message is triggered, but no error message either;
2) Calls to gst_element_get_state with GST_CLOCK_TIME_NONE never return.
Other kinds of erroneous files, like text files and images, are handled without
A simple test application can be found here:
The tag reading code is in tag-reader.c which is pretty basic. I can try to
condense it into something simpler if that would be helpful.
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=538176.
More information about the Gstreamer-bugs