From 4ce453de9730a2fc490343e3678a369eb663ad18 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Fri, 11 May 2012 10:58:45 +0200 Subject: [PATCH] playbin2: default text element is now subtitleoverlay ... and not so much textoverlay, though the former also uses the latter. --- gst/playback/gstplaybin2.c | 2 +- gst/playback/gstplaysink.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c index c9971043bf..d35d29e5f1 100644 --- a/gst/playback/gstplaybin2.c +++ b/gst/playback/gstplaybin2.c @@ -767,7 +767,7 @@ gst_play_bin_class_init (GstPlayBinClass * klass) GST_TYPE_ELEMENT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_klass, PROP_TEXT_SINK, g_param_spec_object ("text-sink", "Text plugin", - "the text output element to use (NULL = default textoverlay)", + "the text output element to use (NULL = default subtitleoverlay)", GST_TYPE_ELEMENT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); /** diff --git a/gst/playback/gstplaysink.c b/gst/playback/gstplaysink.c index 33ca446027..bd66def188 100644 --- a/gst/playback/gstplaysink.c +++ b/gst/playback/gstplaysink.c @@ -502,7 +502,7 @@ gst_play_sink_class_init (GstPlaySinkClass * klass) */ g_object_class_install_property (gobject_klass, PROP_TEXT_SINK, g_param_spec_object ("text-sink", "Text sink", - "the text output element to use (NULL = default textoverlay)", + "the text output element to use (NULL = default subtitleoverlay)", GST_TYPE_ELEMENT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); /** @@ -1923,7 +1923,7 @@ gen_text_chain (GstPlaySink * playsink) if (textsinkpad == NULL) { GST_ELEMENT_WARNING (playsink, CORE, MISSING_PLUGIN, (_("Custom text sink element is not usable.")), - ("fallback to default textoverlay")); + ("fallback to default subtitleoverlay")); } }