Commit c9b3270a authored by Marian Durkovic's avatar Marian Durkovic

make ZoomCallback work with extended GUI or deinterlace (refs #480)

parent 94417590
...@@ -715,7 +715,8 @@ static int ZoomCallback( vlc_object_t *p_this, char const *psz_cmd, ...@@ -715,7 +715,8 @@ static int ZoomCallback( vlc_object_t *p_this, char const *psz_cmd,
vout_thread_t *p_vout = (vout_thread_t *)p_this; vout_thread_t *p_vout = (vout_thread_t *)p_this;
InitWindowSize( p_vout, &p_vout->i_window_width, InitWindowSize( p_vout, &p_vout->i_window_width,
&p_vout->i_window_height ); &p_vout->i_window_height );
vout_Control( p_vout, VOUT_SET_SIZE, 0, 0 ); vout_Control( p_vout, VOUT_SET_SIZE, p_vout->i_window_width,
p_vout->i_window_height );
return VLC_SUCCESS; return VLC_SUCCESS;
} }
......
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