From 6926f46e126f153e01af3e26933903df02a048bb Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Thu, 31 Oct 2002 10:45:36 +0000 Subject: It is not possible to just drop the unregistered config entries when saving. Some decoders might never be loaded and never get a chance to register their config entries. Example: When starting xine and playing only an ordinary avi, liba52's passthrough setting is lost. CVS patchset: 3110 CVS date: 2002/10/31 10:45:36 --- src/xine-engine/configfile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/xine-engine/configfile.c b/src/xine-engine/configfile.c index 2dac9c448..c82bdde17 100644 --- a/src/xine-engine/configfile.c +++ b/src/xine-engine/configfile.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: configfile.c,v 1.38 2002/10/26 03:56:31 storri Exp $ + * $Id: configfile.c,v 1.39 2002/10/31 10:45:36 mroi Exp $ * * config object (was: file) management - implementation * @@ -643,11 +643,11 @@ void xine_config_save (xine_t *xine_ro, const char *filename) { switch (entry->type) { case CONFIG_TYPE_UNKNOWN: -#if 0 +/*#if 0*/ /* discard unclaimed values */ fprintf (f_config, "%s:%s\n", entry->key, entry->unknown_value); -#endif +/*#endif*/ break; case CONFIG_TYPE_RANGE: -- cgit v1.2.3