vout: remove redundant test
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 26 Jul 2017 18:47:02 +0000 (21:47 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 26 Jul 2017 18:47:02 +0000 (21:47 +0300)
If the vout is unfiltered (in this context), then use_dr is true.

src/video_output/video_output.c

index 63ca06f..336b97e 100644 (file)
@@ -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;