]> git.sesse.net Git - vlc/commitdiff
make deinterlace and zoom work together
authorMarian Durkovic <md@videolan.org>
Thu, 24 Nov 2005 08:10:13 +0000 (08:10 +0000)
committerMarian Durkovic <md@videolan.org>
Thu, 24 Nov 2005 08:10:13 +0000 (08:10 +0000)
modules/video_filter/deinterlace.c

index 00e417ad768afdab5131ce7b2875fa363c60e994..4b5420d9a5feb60c59393425c6dfbf777e3027f3 100644 (file)
@@ -166,6 +166,11 @@ struct vout_sys_t
  *****************************************************************************/
 static int Control( vout_thread_t *p_vout, int i_query, va_list args )
 {
+    if( i_query == VOUT_SET_ZOOM )
+    {
+        p_vout->p_sys->p_vout->i_window_width = p_vout->i_window_width;
+        p_vout->p_sys->p_vout->i_window_height = p_vout->i_window_height;
+    }
     return vout_vaControl( p_vout->p_sys->p_vout, i_query, args );
 }