From 468072a17a20bf584df17f14e329441eebf66776 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 5 Feb 2013 00:42:51 +0200 Subject: frontend: do all bpp handling in plugin_lib --- plugins/gpulib/vout_pl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/gpulib/vout_pl.c b/plugins/gpulib/vout_pl.c index 5af0762..7f031fe 100644 --- a/plugins/gpulib/vout_pl.c +++ b/plugins/gpulib/vout_pl.c @@ -50,8 +50,7 @@ static void check_mode_change(int force) old_status = gpu.status.reg; old_h = h; - cbs->pl_vout_set_mode(w_out, h_out, w, h, - (gpu.status.rgb24 && !cbs->only_16bpp) ? 24 : 16); + cbs->pl_vout_set_mode(w_out, h_out, w, h, gpu.status.rgb24 ? 24 : 16); } } -- cgit v1.2.3