Browse Source

decklink: Fix log message

jp9000 10 years ago
parent
commit
2e1eb4d7eb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/decklink/decklink-device-discovery.cpp

+ 1 - 1
plugins/decklink/decklink-device-discovery.cpp

@@ -31,7 +31,7 @@ bool DeckLinkDeviceDiscovery::Init(void)
 		result = discovery->InstallDeviceNotifications(this);
 		result = discovery->InstallDeviceNotifications(this);
 
 
 	initialized = result == S_OK;
 	initialized = result == S_OK;
-	if (initialized)
+	if (!initialized)
 		blog(LOG_INFO, "Failed to start search for DeckLink devices");
 		blog(LOG_INFO, "Failed to start search for DeckLink devices");
 
 
 	return initialized;
 	return initialized;