From: GStreamer (bugzilla.gnome.org) <bug...@bu...> - 2008-06-13 17:50:21
|
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: http://bugzilla.gnome.org/show_bug.cgi?id=538176 GStreamer | gstreamer (core) | Ver: 0.10.18 Summary: State change trouble with decodebin and empty files Product: GStreamer Version: 0.10.18 Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: gstreamer (core) AssignedTo: gst...@li... ReportedBy: jo...@op... QAContact: gst...@li... 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 trouble. A simple test application can be found here: http://svn.o-hand.com/repos/misc/trunk/gaku/ 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. |