mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
playbin2: default text element is now subtitleoverlay
... and not so much textoverlay, though the former also uses the latter.
This commit is contained in:
parent
5518dd69c7
commit
4ce453de97
2 changed files with 3 additions and 3 deletions
|
@ -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));
|
||||
|
||||
/**
|
||||
|
|
|
@ -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"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue