[gstreamer-bugs] [Bug 328423] [gnomevfs] doesn't handle case when gnomevfs can't init
bugzilla-daemon at bugzilla.gnome.org
Tue Jan 24 05:42:47 PST 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
GStreamer | gst-plugins-base | Ver: HEAD CVS
------- Comment #1 from Tim-Philipp Müller 2006-01-24 13:42 UTC -------
One thing to keep in mind here is gst_element_make_from_uri() and how it goes
by rank. If gnomevfssrc cannot be used because it fails to initialise for some
reason, it would be good if another element with a lower rank was chosen for a
That's why I'd go for calling _init() in the plugin init function and setting a
flag somewhere. If _init() fails, gnomevfssrc is registered with GST_RANK_NONE,
otherwise it is registered with the original rank. In NULL => READY state
change the flag is checked and state change fails if _init() failed earlier.
Not registering the element at all when _init() fails can only lead to
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs