summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-06-09 19:43:24 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-06-09 19:43:24 +0000
commit4b1bf1e7b79ce885e9f20643ccf9c399444486df (patch)
tree81349282ec35e0896ce589b8aa68cae64dd60cad /gst-libs/gst
parent1b4bd4fd3783b362a74f11afe6cd37f43e05bdf8 (diff)
downloadgst-plugins-bad-4b1bf1e7b79ce885e9f20643ccf9c399444486df.tar.gz
gst-plugins-bad-4b1bf1e7b79ce885e9f20643ccf9c399444486df.tar.bz2
gst-plugins-bad-4b1bf1e7b79ce885e9f20643ccf9c399444486df.zip
g/: Default to autovideosink instead of @DEFAULT_VIDEOSINK@.
Original commit message from CVS: * gconf/gstreamer.schemas.in: * gst-libs/gst/gconf/gconf.c: (gst_gconf_get_default_video_sink): Default to autovideosink instead of @DEFAULT_VIDEOSINK@. Autovideosink dynamically selects between ximagesink/xvimagesink, and is thus more userfriendly
Diffstat (limited to 'gst-libs/gst')
-rw-r--r--gst-libs/gst/gconf/gconf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst-libs/gst/gconf/gconf.c b/gst-libs/gst/gconf/gconf.c
index de3182f0..e18a2192 100644
--- a/gst-libs/gst/gconf/gconf.c
+++ b/gst-libs/gst/gconf/gconf.c
@@ -217,8 +217,8 @@ gst_gconf_get_default_audio_sink (void)
* gst_gconf_get_default_video_sink:
*
* Render video output bin from GStreamer GConf key : "default/videosink".
- * If key is invalid, the default video sink for the platform is used
- * (typically xvimagesink or ximagesink).
+ * If key is invalid, the default video sink for the platform is used,
+ * and this is detected by the autodetection bin autovideosink.
*
* Returns: a #GstElement containing the video output bin, or NULL if
* everything failed.
@@ -229,7 +229,7 @@ gst_gconf_get_default_video_sink (void)
GstElement *ret = gst_gconf_render_bin_from_key ("default/videosink");
if (!ret) {
- ret = gst_element_factory_make (DEFAULT_VIDEOSINK, NULL);
+ ret = gst_element_factory_make ("autovideosink", NULL);
if (!ret)
g_warning ("No GConf default video sink key and %s doesn't work",
@@ -243,7 +243,7 @@ gst_gconf_get_default_video_sink (void)
* gst_gconf_get_default_audio_src:
*
* Render audio acquisition bin from GStreamer GConf key : "default/audiosrc".
- * If key is invalid, the default audio source for the plaform is used.
+ * If key is invalid, the default audio source for the plaform is used
* (typically osssrc or sunaudiosrc).
*
* Returns: a #GstElement containing the audio source bin, or NULL if