decklink: Don't print error for dlopen failure
authorSeungha Yang <seungha@centricular.com>
Wed, 28 Jul 2021 07:11:36 +0000 (16:11 +0900)
committerSeungha Yang <seungha@centricular.com>
Wed, 28 Jul 2021 08:13:06 +0000 (17:13 +0900)
This is not a fatal error on systems without decklink

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2441>

sys/decklink/linux/DeckLinkAPIDispatch.cpp

index 02bed76..ed3b410 100644 (file)
@@ -60,7 +60,7 @@ static void   InitDeckLinkAPI (void)
        libraryHandle = dlopen(kDeckLinkAPI_Name, RTLD_NOW|RTLD_GLOBAL);
        if (!libraryHandle)
        {
-               fprintf(stderr, "%s\n", dlerror());
+               // fprintf(stderr, "%s\n", dlerror());
                return;
        }