From c036faa947dd1a4362ca796f4240835ea404a654 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Sat, 17 Jun 2006 12:50:18 +0000 Subject: *** empty log message *** CVS patchset: 8047 CVS date: 2006/06/17 12:50:18 --- src/libsputext/xine_decoder.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'src') 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); } -- cgit v1.2.3