fix for default ac3
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 19 Oct 2006 20:04:19 +0000 (20:04 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 19 Oct 2006 20:04:19 +0000 (20:04 +0000)
lib/service/servicedvb.cpp

index 750fd34..2cf5b6e 100644 (file)
@@ -1686,7 +1686,7 @@ void eDVBServicePlay::updateDecoder()
        std::string default_ac3;
 
        if (!ePythonConfigQuery::getConfigValue("config.av.defaultac3", default_ac3))
        std::string default_ac3;
 
        if (!ePythonConfigQuery::getConfigValue("config.av.defaultac3", default_ac3))
-               defaultac3 = default_ac3 == "enable";
+               defaultac3 = default_ac3 == "True";
 
        eDVBServicePMTHandler::program program;
        if (h.getProgramInfo(program))
 
        eDVBServicePMTHandler::program program;
        if (h.getProgramInfo(program))