diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-10-31 10:45:36 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-10-31 10:45:36 +0000 |
commit | 6926f46e126f153e01af3e26933903df02a048bb (patch) | |
tree | 0f50e7be83a19bbc3738729493203345d92dd573 /src | |
parent | 5b7b2413e39818f08ba8eaf7c63f808fc62f020b (diff) | |
download | xine-lib-6926f46e126f153e01af3e26933903df02a048bb.tar.gz xine-lib-6926f46e126f153e01af3e26933903df02a048bb.tar.bz2 |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-engine/configfile.c | 6 |
1 files changed, 3 insertions, 3 deletions
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: |