Commit 81213ca0 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

playbin: don't use deprecated textoverlay properties

parent a654ba5b
......@@ -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";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment