From 2532a71fa1cd5e697d27e09a7c290faa6ea83acf Mon Sep 17 00:00:00 2001 From: Petri Hintukainen Date: Sat, 9 Jul 2011 16:14:42 +0300 Subject: Fixed hiding subtitles: composition descriptor state has nothing to do with hide/show. Hide overlay when there are no objects to display. --- src/libspuhdmv/xine_hdmv_decoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/libspuhdmv/xine_hdmv_decoder.c b/src/libspuhdmv/xine_hdmv_decoder.c index fb6b9447b..85732c4f6 100644 --- a/src/libspuhdmv/xine_hdmv_decoder.c +++ b/src/libspuhdmv/xine_hdmv_decoder.c @@ -878,7 +878,7 @@ static void update_overlays(spuhdmv_decoder_t *this) while (pseg) { - if (!pseg->comp_descr.state) { + if (!pseg->object_number) { /* HIDE */ if (!pseg->shown) -- cgit v1.2.3