diff options
author | Bastien Nocera <hadess@users.sourceforge.net> | 2006-06-17 12:50:18 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@users.sourceforge.net> | 2006-06-17 12:50:18 +0000 |
commit | c036faa947dd1a4362ca796f4240835ea404a654 (patch) | |
tree | f64a95e6d82a06b3f20918c281c3fa27d362c505 | |
parent | 1ae406bfee47934bde76f95e0ebc0c1de099bcd3 (diff) | |
download | xine-lib-c036faa947dd1a4362ca796f4240835ea404a654.tar.gz xine-lib-c036faa947dd1a4362ca796f4240835ea404a654.tar.bz2 |
*** empty log message ***
CVS patchset: 8047
CVS date: 2006/06/17 12:50:18
-rw-r--r-- | src/libsputext/xine_decoder.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/libsputext/xine_decoder.c b/src/libsputext/xine_decoder.c index 641c65e25..4da156c5c 100644 --- a/src/libsputext/xine_decoder.c +++ b/src/libsputext/xine_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.93 2006/06/02 22:18:58 dsalt Exp $ + * $Id: xine_decoder.c,v 1.94 2006/06/17 12:50:18 hadess Exp $ * */ @@ -855,7 +855,17 @@ static spu_decoder_t *sputext_class_open_plugin (spu_decoder_class_t *class_gen, return (spu_decoder_t *) this; } -static void sputext_class_dispose (spu_decoder_class_t *this) { +static void sputext_class_dispose (spu_decoder_class_t *class_gen) { + sputext_class_t *this = (sputext_class_t *)class_gen; + + this->xine->config->unregister_callback(this->xine->config, + "subtitles.separate.src_encoding"); + this->xine->config->unregister_callback(this->xine->config, + "subtitles.separate.subtitle_size"); + this->xine->config->unregister_callback(this->xine->config, + "subtitles.separate.vertical_offset"); + this->xine->config->unregister_callback(this->xine->config, + "subtitles.separate.use_unscaled_osd"); free (this); } |