diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2010-01-28 02:33:16 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2010-01-28 02:33:16 +0000 |
commit | a588599bd24399e45f82fcb19b6a28fb6537771f (patch) | |
tree | e8038bb6df64c7915278495b94d05ff1bdac0bbc /src | |
parent | b27fec744ea66cb04bcc0c44ebc270575ed07e03 (diff) | |
download | xine-lib-a588599bd24399e45f82fcb19b6a28fb6537771f.tar.gz xine-lib-a588599bd24399e45f82fcb19b6a28fb6537771f.tar.bz2 |
Do the dvbsub CLUT reset in spudec_reset.
This is probably still wrong, but at least works properly with BBC subtitling.
Diffstat (limited to 'src')
-rw-r--r-- | src/spu_dec/spudvb_decoder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spu_dec/spudvb_decoder.c b/src/spu_dec/spudvb_decoder.c index 197b1cd49..b6720acdf 100644 --- a/src/spu_dec/spudvb_decoder.c +++ b/src/spu_dec/spudvb_decoder.c @@ -987,7 +987,6 @@ static void spudec_decode_data (spu_decoder_t * this_gen, buf_element_t * buf) /* completely ignore pts since it makes a lot of problems with various providers */ this->vpts = 0; - reset_clut (this->dvbsub); /* process the pes section */ PES_packet_length = this->pes_pkt_size; @@ -1058,8 +1057,9 @@ static void spudec_reset (spu_decoder_t * this_gen) this->dvbsub->regions[i].version_number = -1; } this->dvbsub->page.page_version_number = -1; - pthread_mutex_unlock(&this->dvbsub_osd_mutex); + reset_clut (this->dvbsub); + pthread_mutex_unlock(&this->dvbsub_osd_mutex); } static void spudec_discontinuity (spu_decoder_t * this_gen) |