From 7b76127d12f06ebb23925fa03e9f808e6d6d9ada Mon Sep 17 00:00:00 2001 From: Petri Hintukainen Date: Mon, 23 Sep 2013 11:08:28 +0300 Subject: input_bluray: handle overlay palette updates --- src/input/input_bluray.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/input/input_bluray.c b/src/input/input_bluray.c index c88de7400..894926372 100644 --- a/src/input/input_bluray.c +++ b/src/input/input_bluray.c @@ -232,6 +232,11 @@ static void draw_bitmap(xine_osd_t *osd, const BD_OVERLAY * const ov) xine_osd_set_palette(osd, color, trans); } +#if BLURAY_VERSION >= BLURAY_VERSION_CODE(0, 3, 0) + if (ov->palette_update_flag) + return; +#endif + /* uncompress and draw bitmap */ if (ov->img) { const BD_PG_RLE_ELEM *rlep = ov->img; -- cgit v1.2.3