gst/playback/gstplaybin.c: Fix broken code refactoring.

Original commit message from CVS:
2006-02-05  Julien MOUTTE  <julien@moutte.net>

* gst/playback/gstplaybin.c: (gen_text_element): Fix broken code
refactoring.
This commit is contained in:
Julien Moutte 2006-02-05 12:06:25 +00:00
parent 4bcfd025f3
commit 189cd30822
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2006-02-05 Julien MOUTTE <julien@moutte.net>
* gst/playback/gstplaybin.c: (gen_text_element): Fix broken code
refactoring.
2006-02-04 David Schleef <ds@schleef.org> 2006-02-04 David Schleef <ds@schleef.org>
* ext/ogg/gstoggmux.c: * ext/ogg/gstoggmux.c:

View file

@ -680,8 +680,7 @@ gen_text_element (GstPlayBin * play_bin)
g_object_set (G_OBJECT (overlay), g_object_set (G_OBJECT (overlay),
"halign", "center", "valign", "bottom", NULL); "halign", "center", "valign", "bottom", NULL);
if (play_bin->font_desc) { if (play_bin->font_desc) {
g_object_set (G_OBJECT (play_bin->textoverlay_element), g_object_set (G_OBJECT (overlay), "font-desc", play_bin->font_desc, NULL);
"font-desc", play_bin->font_desc, NULL);
} }
/* Take a ref */ /* Take a ref */