isCrypted is returning booleans, no integers
authorLittlesat <Littlesat99@yahoo.com>
Sat, 7 Mar 2015 20:12:04 +0000 (21:12 +0100)
committerLittlesat <Littlesat99@yahoo.com>
Sat, 7 Mar 2015 20:12:04 +0000 (21:12 +0100)
lib/service/service.cpp
lib/service/servicedvb.cpp

index 18495d5..5e8a876 100644 (file)
@@ -299,7 +299,7 @@ long long iStaticServiceInformation::getFileSize(const eServiceReference &ref)
 
 bool iStaticServiceInformation::isCrypted()
 {
-       return 0;
+       return false;
 }
 
 int iStaticServiceInformation::setInfo(const eServiceReference &ref, int w, int v)
index af23ba1..d4a9b3c 100644 (file)
@@ -1952,7 +1952,7 @@ int eDVBServicePlay::getInfo(int w)
                        return aspect;
                break;
        }
-       case sIsCrypted: if (no_program_info) return -1; return program.isCrypted();
+       case sIsCrypted: if (no_program_info) return false; return program.isCrypted();
        case sVideoPID:
                if (m_dvb_service)
                {