---
 src/decoder/sidplay_plugin.cxx |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/decoder/sidplay_plugin.cxx b/src/decoder/sidplay_plugin.cxx
index 5228dbe..ee860b3 100644
--- a/src/decoder/sidplay_plugin.cxx
+++ b/src/decoder/sidplay_plugin.cxx
@@ -40,6 +40,7 @@ static GKeyFile *songlength_database;

 static bool all_files_are_containers;
 static unsigned default_songlength;
+static bool filter;

 static bool
 sidplay_init(const struct config_param *param)
@@ -83,6 +84,8 @@ sidplay_init(const struct config_param *param)
    path_with_subtune=g_pattern_spec_new(
            "*/" SUBTUNE_PREFIX "???.sid");

+   filter=config_get_block_bool(param, "filter", true);
+
    return true;
 }

@@ -224,7 +227,7 @@ sidplay_file_decode(struct decoder *decoder, const char
*path_fs)
        return;
    }

-   builder.filter(false);
+   builder.filter(filter);
    if (!builder) {
        g_warning("ReSIDBuilder.filter() failed");
        return;
-- 
1.6.0.6
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to