pango: Fix 'implicit conversion from enumeration type 'GstTextOverlayLineAlign' to...
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 6 Mar 2012 12:11:16 +0000 (13:11 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 6 Mar 2012 12:11:16 +0000 (13:11 +0100)
ext/pango/gsttextoverlay.c

index 0096d940c1b01f9d0cdf4994206442f4bbe757a9..329be5081d2d05f2f80a034ec7ce8e0b26bacde0 100644 (file)
@@ -743,7 +743,8 @@ gst_text_overlay_update_render_mode (GstTextOverlay * overlay)
   } else {
     pango_context_set_base_gravity (context, PANGO_GRAVITY_SOUTH);
     pango_context_set_matrix (context, &matrix);
-    pango_layout_set_alignment (overlay->layout, overlay->line_align);
+    pango_layout_set_alignment (overlay->layout,
+        (PangoAlignment) overlay->line_align);
   }
 }