Commit 0aeded4f authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Patch to force alignment in OpenGL if it isn't correctlt positionned before,...

Patch to force alignment in OpenGL if it isn't correctlt positionned before, as panoramix does do it correctly. Patch By Cedric Cocquebert.

parent ecd201ba
......@@ -671,6 +671,12 @@ static int Manage( vout_thread_t *p_vout )
p_sys->p_vout->pf_unlock( p_sys->p_vout );
}
#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;
}
......
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