pango: Fix 'implicit conversion from enumeration type 'GstTextOverlayLineAlign' to different enumeration type 'PangoAlignment'' compiler warning

This commit is contained in:
Sebastian Dröge 2012-03-06 13:11:16 +01:00
parent 7418ddd753
commit 93e7bb6759

View file

@ -743,7 +743,8 @@ gst_text_overlay_update_render_mode (GstTextOverlay * overlay)
} else { } else {
pango_context_set_base_gravity (context, PANGO_GRAVITY_SOUTH); pango_context_set_base_gravity (context, PANGO_GRAVITY_SOUTH);
pango_context_set_matrix (context, &matrix); 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);
} }
} }