Since it doesn't take transfomr into account when updating destination
it needs to update transform again when destination updated.
Change-Id: I3bd1f73144c52a8e27bb2b8c656e3f505476d63c
_source_viewport_committed(E_Video_Viewport_Source *source)
{
E_Video_Viewport_State *state = &source->viewport->current;
+ Eina_Bool need_transform = EINA_FALSE;
VS_DBG("SOURCE %p| viewport committed", source);
{
_source_viewport_destination_update(source);
_source_viewport_apply(source);
+ need_transform = EINA_TRUE;
}
- if (state->committed & E_VIDEO_VIEWPORT_STATE_TRANSFORM)
+ if (need_transform || (state->committed & E_VIDEO_VIEWPORT_STATE_TRANSFORM))
{
_source_viewport_transform_update(source);
}