mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
pango: Fix 'implicit conversion from enumeration type 'GstTextOverlayLineAlign' to different enumeration type 'PangoAlignment'' compiler warning
This commit is contained in:
parent
7418ddd753
commit
93e7bb6759
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue