mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
playbin: don't use deprecated textoverlay properties
This commit is contained in:
parent
a654ba5b85
commit
81213ca040
1 changed files with 3 additions and 2 deletions
|
@ -879,8 +879,9 @@ _setup_renderer (GstSubtitleOverlay * self, GstElement * renderer)
|
|||
|
||||
if (strcmp (name, "textoverlay") == 0) {
|
||||
/* Set some textoverlay specific properties */
|
||||
g_object_set (G_OBJECT (renderer),
|
||||
"halign", "center", "valign", "bottom", "wait-text", FALSE, NULL);
|
||||
gst_util_set_object_arg (G_OBJECT (renderer), "halignment", "center");
|
||||
gst_util_set_object_arg (G_OBJECT (renderer), "valignment", "bottom");
|
||||
g_object_set (G_OBJECT (renderer), "wait-text", FALSE, NULL);
|
||||
if (self->font_desc)
|
||||
g_object_set (G_OBJECT (renderer), "font-desc", self->font_desc, NULL);
|
||||
self->silent_property = "silent";
|
||||
|
|
Loading…
Reference in a new issue