Commit 4dae8e1b authored by Laurent Aimar's avatar Laurent Aimar

Allowed rendering OSD at display resolution when possible and of higher quality.

parent f4a5ea36
...@@ -907,7 +907,13 @@ static int ThreadDisplayRenderPicture(vout_thread_t *vout, bool is_forced) ...@@ -907,7 +907,13 @@ static int ThreadDisplayRenderPicture(vout_thread_t *vout, bool is_forced)
const bool do_dr_spu = !do_snapshot && const bool do_dr_spu = !do_snapshot &&
vd->info.subpicture_chromas && vd->info.subpicture_chromas &&
*vd->info.subpicture_chromas != 0; *vd->info.subpicture_chromas != 0;
const bool do_early_spu = true; /* TODO */ const bool do_early_spu = !do_dr_spu &&
(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; const vlc_fourcc_t *subpicture_chromas;
video_format_t fmt_spu; video_format_t fmt_spu;
if (do_dr_spu) { if (do_dr_spu) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment