Commit 6d6e8977 authored by Nicolas Dufresne's avatar Nicolas Dufresne Committed by Sebastian Dröge

decklink: Silence no driver / no SO messages

This g_once() is called everywhere, even in provider. This cause
spurious error when device monitor is used. Just silence or remove
the spurious logs.
parent 4fc3aa6e
......@@ -1367,7 +1367,7 @@ init_devices (gpointer data)
iterator = CreateDeckLinkIteratorInstance ();
if (iterator == NULL) {
GST_ERROR ("no driver");
GST_DEBUG ("no driver");
return NULL;
}
......
......@@ -58,7 +58,10 @@ static void InitDeckLinkAPI (void)
libraryHandle = dlopen(kDeckLinkAPI_Name, RTLD_NOW|RTLD_GLOBAL);
if (!libraryHandle)
{
fprintf(stderr, "%s\n", dlerror());
/* As we install this plugin regardless if there is a
* proprietary library present or not, let's stay silent
* to avoid poluting the logs */
// fprintf(stderr, "%s\n", dlerror());
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment