From 4a901e4db0f9c71e70a16c40d5dd1dba04732583 Mon Sep 17 00:00:00 2001 From: ulion Date: Wed, 19 Dec 2007 08:35:40 +0000 Subject: Vobsub support tridx setting in .idx file. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25460 b3059339-0415-0410-9bf9-f77b7e298cf2 --- spudec.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'spudec.c') diff --git a/spudec.c b/spudec.c index a8d6a50730..ce579cccda 100644 --- a/spudec.c +++ b/spudec.c @@ -231,6 +231,8 @@ static void spudec_process_data(spudec_handle_t *this, packet_t *packet) this->stride = packet->stride; for (i = 0; i < 4; ++i) { alpha[i] = mkalpha(packet->alpha[i]); + if (this->custom && (this->cuspal[i] >> 31) != 0) + alpha[i] = 0; if (alpha[i] == 0) cmap[i] = 0; else if (this->custom){ -- cgit v1.2.3