diff options
author | Bastien Nocera <hadess@users.sourceforge.net> | 2006-04-18 13:51:33 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@users.sourceforge.net> | 2006-04-18 13:51:33 +0000 |
commit | 8909813ddd0a5d4c11f8e76c8736728c657ff781 (patch) | |
tree | 934e8c6ef01470c45751a4662c150d4acba5dd68 | |
parent | f4c2437371220500b72b67175358cd19aa86278b (diff) | |
download | xine-lib-8909813ddd0a5d4c11f8e76c8736728c657ff781.tar.gz xine-lib-8909813ddd0a5d4c11f8e76c8736728c657ff781.tar.bz2 |
- unregister the vcd config entry when disposing the plugin class. Fixes:
http://bugzilla.gnome.org/show_bug.cgi?id=338883
CVS patchset: 7971
CVS date: 2006/04/18 13:51:33
-rw-r--r-- | src/input/vcd/xineplug_inp_vcd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/input/vcd/xineplug_inp_vcd.c b/src/input/vcd/xineplug_inp_vcd.c index 697272f21..61b20cf2d 100644 --- a/src/input/vcd/xineplug_inp_vcd.c +++ b/src/input/vcd/xineplug_inp_vcd.c @@ -1,5 +1,5 @@ /* - $Id: xineplug_inp_vcd.c,v 1.45 2005/10/14 21:02:16 miguelfreitas Exp $ + $Id: xineplug_inp_vcd.c,v 1.46 2006/04/18 13:51:33 hadess Exp $ Copyright (C) 2002, 2003, 2004, 2005 Rocky Bernstein <rocky@panix.com> @@ -1495,6 +1495,8 @@ static void vcd_class_dispose (input_class_t *this_gen) { vcd_input_class_t *class = (vcd_input_class_t *) this_gen; + class->xine->config->unregister_callback(class->xine->config, + "media.vcd.device"); gl_default_vcd_log_handler = vcd_log_set_handler (uninit_log_handler); gl_default_cdio_log_handler = cdio_log_set_handler ((cdio_log_handler_t) uninit_log_handler); |