Commit 42928cf8 authored by Marian Durkovic's avatar Marian Durkovic

make Crop or Aspect change autoamtically resize the window

parent c5f75658
......@@ -555,6 +555,7 @@ static int Manage( vout_thread_t *p_vout )
p_vout->fmt_out.i_sar_den = p_vout->fmt_in.i_sar_den;
p_vout->output.i_aspect = p_vout->fmt_in.i_aspect;
E_(DirectXUpdateRects)( p_vout, VLC_TRUE );
vout_Control( p_vout, VOUT_SET_ZOOM );
}
/* We used to call the Win32 PeekMessage function here to read the window
......
......@@ -318,6 +318,7 @@ static int Manage( vout_thread_t *p_vout )
p_vout->fmt_out.i_sar_den = p_vout->fmt_in.i_sar_den;
p_vout->output.i_aspect = p_vout->fmt_in.i_aspect;
E_(DirectXUpdateRects)( p_vout, VLC_TRUE );
vout_Control( p_vout, VOUT_SET_ZOOM );
}
/* We used to call the Win32 PeekMessage function here to read the window
......
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