diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-10-23 23:15:36 +0100 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-10-23 23:15:36 +0100 |
commit | 7f0cb19782f4ac1de0f35bf3321be03b30a7179c (patch) | |
tree | af7539b3eb33846dffe4645d52aa00a0720ed82e /src/libsputext/xine_sputext_decoder.c | |
parent | 9b6900307db58fd1adcc1311e1938f74225bc549 (diff) | |
parent | 063fce405f6dd99f78040a0087ab4c602c5b96fc (diff) | |
download | xine-lib-7f0cb19782f4ac1de0f35bf3321be03b30a7179c.tar.gz xine-lib-7f0cb19782f4ac1de0f35bf3321be03b30a7179c.tar.bz2 |
Merge from 1.1, updating plugin Conflicts/Replaces accordingly.
Diffstat (limited to 'src/libsputext/xine_sputext_decoder.c')
-rw-r--r-- | src/libsputext/xine_sputext_decoder.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libsputext/xine_sputext_decoder.c b/src/libsputext/xine_sputext_decoder.c index ea3a69189..66ce4a533 100644 --- a/src/libsputext/xine_sputext_decoder.c +++ b/src/libsputext/xine_sputext_decoder.c @@ -703,9 +703,11 @@ static void spudec_decode_data (spu_decoder_t *this_gen, buf_element_t *buf) { lprintf("started\n"); this->width = this->height = 0; - this->started = 1; - update_output_size( this ); + update_output_size( this ); + if( this->width && this->height ) { + this->started = 1; + } } if( this->started ) { |