gst-libs/gst/gconf/gconf.c: Using ximagesink as a default if no gconf key found. We should probably consider using al...

Original commit message from CVS:
2004-03-03  Julien MOUTTE <julien@moutte.net>

* gst-libs/gst/gconf/gconf.c: (gst_gconf_get_default_video_sink):
Using ximagesink as a default if no gconf key found. We should
probably consider using alsasink instead of osssink for the audio
part.
This commit is contained in:
Julien Moutte 2004-03-03 11:41:50 +00:00
parent eb3b61af05
commit 9b20ef530c
2 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,10 @@
2004-03-03 Julien MOUTTE <julien@moutte.net>
* gst-libs/gst/gconf/gconf.c: (gst_gconf_get_default_video_sink):
Using ximagesink as a default if no gconf key found. We should
probably consider using alsasink instead of osssink for the audio
part.
2004-03-02 Thomas Vander Stichele <thomas at apestaart dot org> 2004-03-02 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac: * configure.ac:

View file

@ -231,12 +231,12 @@ gst_gconf_get_default_video_sink (void)
GstElement *ret = gst_gconf_render_bin_from_key ("default/videosink"); GstElement *ret = gst_gconf_render_bin_from_key ("default/videosink");
if (!ret) { if (!ret) {
ret = gst_element_factory_make ("xvideosink", NULL); ret = gst_element_factory_make ("ximagesink", NULL);
if (!ret) if (!ret)
g_warning ("No GConf default video sink key and xvideosink doesn't work"); g_warning ("No GConf default video sink key and ximagesink doesn't work");
else else
g_print ("GConf video sink not found, using xvideosink\n"); g_print ("GConf video sink not found, using ximagesink\n");
} }
return ret; return ret;