mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
track-video-transition: Make the invert property management coherent
This commit is contained in:
parent
c22fa97088
commit
dd55b0084b
1 changed files with 3 additions and 3 deletions
|
@ -695,10 +695,10 @@ ges_track_video_transition_set_inverted_internal (GESTrackVideoTransition *
|
||||||
GESTrackVideoTransitionPrivate *priv = self->priv;
|
GESTrackVideoTransitionPrivate *priv = self->priv;
|
||||||
|
|
||||||
if (!priv->smpte) {
|
if (!priv->smpte) {
|
||||||
priv->pending_inverted = inverted;
|
priv->pending_inverted = !inverted;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
g_object_set (priv->smpte, "invert", inverted, NULL);
|
g_object_set (priv->smpte, "invert", !inverted, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -829,7 +829,7 @@ ges_track_video_transition_is_inverted (GESTrackVideoTransition * self)
|
||||||
|
|
||||||
g_object_get (self->priv->smpte, "invert", &inverted, NULL);
|
g_object_get (self->priv->smpte, "invert", &inverted, NULL);
|
||||||
|
|
||||||
return inverted;
|
return !inverted;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue