diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | gconf/gstreamer.schemas.in | 2 | ||||
-rw-r--r-- | gst-libs/gst/gconf/gconf.c | 8 |
3 files changed, 13 insertions, 5 deletions
@@ -1,5 +1,13 @@ 2005-06-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net> + * 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 + +2005-06-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net> + * ext/mad/gstmad.c: (gst_mad_check_caps_reset), (gst_mad_chain): Update total_samples after new header, since it will affect our timestamps. Fixes #140237. diff --git a/gconf/gstreamer.schemas.in b/gconf/gstreamer.schemas.in index e3d893c1..cc6cd4c7 100644 --- a/gconf/gstreamer.schemas.in +++ b/gconf/gstreamer.schemas.in @@ -16,7 +16,7 @@ <applyto>/system/gstreamer/@GST_MAJORMINOR@/default/videosink</applyto> <owner>gstreamer</owner> <type>string</type> - <default>@DEFAULT_VIDEOSINK@</default> + <default>autovideosink</default> <locale name="C"> <short>default GStreamer videosink</short> <long>GStreamer can play video using any number of output elements. Some possible choices are xvimagesink, ximagesink, sdlvideosink and aasink. The videosink can be a partial pipeline instead of just one element.</long> 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 |