summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--database/resources.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/database/resources.cpp b/database/resources.cpp
index d0ca481..8ff478f 100644
--- a/database/resources.cpp
+++ b/database/resources.cpp
@@ -184,7 +184,7 @@ int cUPnPResources::createFromChannel(cUPnPClassVideoBroadcast* Object, cChannel
cAudioVideoDetector* Detector = new cAudioVideoDetector(Channel);
- if(!Detector->detectProperties()){
+ if(Detector->detectProperties()){
ERROR("Cannot detect channel properties");
delete Detector;
return -1;