[vlc-commits] vout: remove redundant test
    Rémi Denis-Courmont 
    git at videolan.org
       
    Wed Jul 26 21:08:12 CEST 2017
    
    
  
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jul 26 21:47:02 2017 +0300| [bff9042430d3fd173f9f7a2d66ee38ff03e88400] | committer: Rémi Denis-Courmont
vout: remove redundant test
If the vout is unfiltered (in this context), then use_dr is true.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bff9042430d3fd173f9f7a2d66ee38ff03e88400
---
 src/video_output/video_output.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 63ca06f6ea..336b97e7ba 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -940,7 +940,6 @@ static int ThreadDisplayRenderPicture(vout_thread_t *vout, bool is_forced)
                               (vd->info.is_slow ||
                                sys->display.use_dr ||
                                do_snapshot ||
-                               !vout_IsDisplayFiltered(vd) ||
                                vd->fmt.i_width * vd->fmt.i_height <= vd->source.i_width * vd->source.i_height);
 
     const vlc_fourcc_t *subpicture_chromas;
    
    
More information about the vlc-commits
mailing list