[gstreamer-bugs] [Bug 476916] Have a source based on gvfs

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Sep 17 12:02:25 PDT 2007


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=476916

  GStreamer | gst-plugins-good | Ver: HEAD CVS




------- Comment #5 from René Stadler  2007-09-17 19:02 UTC -------
Created an attachment (id=95755)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=95755&action=view)
Add experimental gio plugin with source and sink elements to -bad

This patch adds files gst/gio/gio{,src,sink}.{c,h} to gst-plugins-bad.  It's
placed into gst/ instead of ext/ since the final gio library is going to end up
in glib (alongside libgobject, libgthread etc), which means the plugin will
indeed have no external dependency in the future.

For testing purposes, the elements are registered with rank PRIMARY + 1, making
them replace not only the gnomevfs elements but even filesrc and filesink.

Use grep -A 3 FIXME gst/gio/*.c to get a list of shortcomings and remarks.  The
biggest FIXMEs are probably the missing overwrite support for the sink and the
hard coded list of supported protocols.

You are likely to encounter bugs in gio; in particular a crasher where the vfs
object pointer is NULL.  This is a bug in the function g_vfs_get_local in
gio-standalone/gio/gvfs.c.  To fix it, declare the vfs variable as static
there.  I sent a patch to Alex to fix this.

If you use totem, rhythmbox or another DBus-using app, you will probably
trigger a GVFS assertion in gdbusutils.c (dbus_watch_get_data (watch) ==
NULL)).  You can work around that by wiping your registry and using
--gst-disable-registry-fork.

The effect of this is that the gst gio plugin will be initialized very early. 
It seems that the client of the gvfs daemon hooks into the main context to get
the (shared) session bus connection socket's events scheduled.  This seems to
collide with dbus-glib own's integration, which is installed by the app.

Bug summary should be changed to "Add GIO (GVFS) source and sink elements". 
Component can be changed to -bad (I guess the final module will be -base).


-- 
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=476916.




More information about the Gstreamer-bugs mailing list