[gst-devel] gst-player CVS

Joshua N Pritikin vishnu at pobox.com
Thu Sep 26 01:09:02 CEST 2002


On Wed, Sep 25, 2002 at 02:28:56PM +0200, Thomas Vander Stichele wrote:
> > i tried running gconf-editor, but i didn't see
> > app/gst-player.  Does this only work after i type "make install"?
> 
> Yes, schemas are only installed on make install (as is for all Gnome 
> programs using GConf).
> 
> >  Surely
> > gst-player has sane defaults if gconf isn't available?
> 
> Feel free to add this ;)

How about this patch?

-- 
Victory to the Divine Mother!!         after all,
  http://sahajayoga.org                  http://why-compete.org
-------------- next part --------------
? p1
? test-gconf
Index: gconf.c
===================================================================
RCS file: /cvsroot/gstreamer/gst-plugins/gst-libs/gst/gconf/gconf.c,v
retrieving revision 1.6
diff -u -u -r1.6 gconf.c
--- gconf.c	12 Sep 2002 20:53:56 -0000	1.6
+++ gconf.c	26 Sep 2002 08:07:11 -0000
@@ -121,6 +121,11 @@
   gchar *value;
   
   value = gst_gconf_get_string (key);
+  if (!value)
+    {
+      g_critical ("Can't find gconf key '%s/%s' (gconf schema is not installed?)", GST_GCONF_DIR, key);
+      return NULL;
+    }
   bin = gst_gconf_render_bin_from_description (value);
   return bin;
 }


More information about the gstreamer-devel mailing list