[vlc-commits] vout: do not blend early on DR
Rémi Denis-Courmont
git at videolan.org
Wed Dec 26 13:31:49 CET 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Dec 26 10:49:07 2018 +0200| [40c5e63975adf50390e0c1b81af63d45b4b95a2c] | committer: Rémi Denis-Courmont
vout: do not blend early on DR
Tihs only matters if do_dr_spu, info.is_slow and do_snapshot are all
false. There are then two cases:
1) If is_direct is true, there are no actual differences between early
and later SPU blending.
2) If is_direct is false, then this will blend SPU into the small
display pool after copying the picture into it rather than the
decoder pool before copying the picture. Since both pools have the
same formats (use_dr is true) and is_slow is false, this does not
affect the final result or the performance.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=40c5e63975adf50390e0c1b81af63d45b4b95a2c
---
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 d7c234b4f1..06d1b3d06d 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -1065,7 +1065,6 @@ static int ThreadDisplayRenderPicture(vout_thread_t *vout, bool is_forced)
const bool do_early_spu = !do_dr_spu &&
vd->source.orientation == ORIENT_NORMAL &&
(vd->info.is_slow ||
- sys->display.use_dr ||
do_snapshot ||
vd->fmt.i_width * vd->fmt.i_height <= vd->source.i_width * vd->source.i_height);
More information about the vlc-commits
mailing list