vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Wed Dec 26 10:33:05 2018 +0200| [3a1bb12e6b6541c9cb32aef79a96ec23039041ee] | committer: Rémi Denis-Courmont
vout: do not blend SPU early based on resolution In general, the best SPU quality should be achieved by rendering directly to the intended display resolution rather than scaling. This also avoids certain problems: - If there is no blending for the source chroma, blending fails depending on the display resolution. This is a real problem now with opaque chromas and "weird" high-depth chromas. - If the source resolution is really large, rendering to it is a waste of processing power. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3a1bb12e6b6541c9cb32aef79a96ec23039041ee --- src/video_output/video_output.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c index 8c1350feb0..393d3705f2 100644 --- a/src/video_output/video_output.c +++ b/src/video_output/video_output.c @@ -1047,9 +1047,7 @@ 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 && - (vd->info.is_slow || - do_snapshot || - vd->fmt.i_width * vd->fmt.i_height <= vd->source.i_width * vd->source.i_height); + (vd->info.is_slow || do_snapshot); const vlc_fourcc_t *subpicture_chromas; video_format_t fmt_spu; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
