]> git.sesse.net Git - vlc/commitdiff
Deinterlace fix in liblc
authorCyril Mathé <cmathe@actech-innovation.com>
Thu, 4 Jun 2009 11:43:47 +0000 (13:43 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Fri, 5 Jun 2009 18:23:38 +0000 (20:23 +0200)
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
src/control/video.c

index de7614e45bf74adba1ae890e113949e1a08ea77d..3b8fbf22cf0b933ec954c2b9c01c41de56c8b682 100644 (file)
@@ -599,7 +599,7 @@ void libvlc_video_set_deinterlace( libvlc_media_player_t *p_mi, int b_enable,
 {
     vout_thread_t *p_vout = GetVout( p_mi, p_e );
 
-    if( p_vout )
+    if( !p_vout )
     {
         libvlc_exception_raise( p_e, "Unable to get video output" );
         return;