mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
ges-validate: Fix compiler warning caused by usage of wrong enum type
ges-validate.c:237:22: error: implicit conversion from enumeration type 'GESEdge' to different enumeration type 'GESEditMode' [-Werror,-Wenum-conversion] GESEditMode edge = GES_EDGE_NONE; ~~~~ ^~~~~~~~~~~~~ ges-validate.c:277:41: error: implicit conversion from enumeration type 'GESEditMode' to different enumeration type 'GESEdge' [-Werror,-Wenum-conversion] new_layer_priority, mode, edge, position))) { ^~~~ https://bugzilla.gnome.org/show_bug.cgi?id=759758
This commit is contained in:
parent
ceb82ba302
commit
9deaacbe34
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ _edit_container (GstValidateScenario * scenario, GstValidateAction * action)
|
|||
gboolean res = FALSE;
|
||||
|
||||
gint new_layer_priority = -1;
|
||||
GESEditMode edge = GES_EDGE_NONE;
|
||||
GESEdge edge = GES_EDGE_NONE;
|
||||
GESEditMode mode = GES_EDIT_MODE_NORMAL;
|
||||
|
||||
const gchar *edit_mode_str = NULL, *edge_str = NULL;
|
||||
|
|
Loading…
Reference in a new issue