Commit a2d7afbb authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* backport [18632]

 Patch to force alignment in OpenGL if it isn't correctlt positionned before, as panoramix does do it correctly. Patch By Cedric Cocquebert.
parent 92766556
...@@ -673,6 +673,12 @@ static int Manage( vout_thread_t *p_vout ) ...@@ -673,6 +673,12 @@ static int Manage( vout_thread_t *p_vout )
p_sys->p_vout->pf_unlock( p_sys->p_vout ); p_sys->p_vout->pf_unlock( p_sys->p_vout );
} }
#endif #endif
// to align in real time in OPENGL
if (p_sys->p_vout->i_alignment != p_vout->i_alignment)
{
p_vout->i_changes = VOUT_CROP_CHANGE; //to force change
p_sys->p_vout->i_alignment = p_vout->i_alignment;
}
return i_ret; return i_ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment