pango: Fix 'implicit conversion from enumeration type 'GstTextOverlayLineAlign' to different enumeration type 'PangoAlignment'' compiler warning
This commit is contained in:
parent
7418ddd753
commit
93e7bb6759
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user