[vlc-devel] [PATCH] core: don't do early blending if the vout uses filters

Steve Lhomme robUx4 at videolabs.io
Mon Apr 27 16:37:32 CEST 2015


--
There's a good chance the input format may not be supported, there's a better chance on the filtered display picture
---
 src/video_output/video_output.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 0ff1274..96e9e13 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -854,10 +854,10 @@ static int ThreadDisplayRenderPicture(vout_thread_t *vout, bool is_forced)
     //the source format.
     const bool do_early_spu = !do_dr_spu &&
                                vd->source.orientation == ORIENT_NORMAL &&
+                              !vout_IsDisplayFiltered(vd) &&
                               (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;
-- 
2.3.2




More information about the vlc-devel mailing list