summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPetri Hintukainen <phintuka@users.sourceforge.net>2011-07-09 16:14:42 +0300
committerPetri Hintukainen <phintuka@users.sourceforge.net>2011-07-09 16:14:42 +0300
commit2532a71fa1cd5e697d27e09a7c290faa6ea83acf (patch)
treec9dca76ec608bd502ead4dfc9ce38af089682bb2 /src
parent287fa7d3c17fe47a4e44f44732992761d47d3496 (diff)
downloadxine-lib-2532a71fa1cd5e697d27e09a7c290faa6ea83acf.tar.gz
xine-lib-2532a71fa1cd5e697d27e09a7c290faa6ea83acf.tar.bz2
Fixed hiding subtitles: composition descriptor state has nothing to do with hide/show. Hide overlay when there are no objects to display.
Diffstat (limited to 'src')
-rw-r--r--src/libspuhdmv/xine_hdmv_decoder.c2
1 files changed, 1 insertions, 1 deletions
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)