gst/playback/gstplaybin.c: Fix broken code refactoring.
authorJulien Moutte <julien@moutte.net>
Sun, 5 Feb 2006 12:06:25 +0000 (12:06 +0000)
committerJulien Moutte <julien@moutte.net>
Sun, 5 Feb 2006 12:06:25 +0000 (12:06 +0000)
Original commit message from CVS:
2006-02-05  Julien MOUTTE  <julien@moutte.net>

* gst/playback/gstplaybin.c: (gen_text_element): Fix broken code
refactoring.

ChangeLog
gst/playback/gstplaybin.c

index 6a245bba803f104cae53c653e99d6af1a9856c41..bdf75a9fbc8caec3adabd1e915fcbe3a38dda124 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * ext/ogg/gstoggmux.c:
index 5adc76d4724869bec350194f4d6dd14faf4457af..0c44a96c51e87b684fac6e1ec1e68960e283346f 100644 (file)
@@ -680,8 +680,7 @@ gen_text_element (GstPlayBin * play_bin)
   g_object_set (G_OBJECT (overlay),
       "halign", "center", "valign", "bottom", NULL);
   if (play_bin->font_desc) {
-    g_object_set (G_OBJECT (play_bin->textoverlay_element),
-        "font-desc", play_bin->font_desc, NULL);
+    g_object_set (G_OBJECT (overlay), "font-desc", play_bin->font_desc, NULL);
   }
 
   /* Take a ref */