mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-25 16:48:11 +00:00
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.
This commit is contained in:
parent
4fc3aa6ef4
commit
6d6e897762
2 changed files with 5 additions and 2 deletions
|
@ -1367,7 +1367,7 @@ init_devices (gpointer data)
|
||||||
|
|
||||||
iterator = CreateDeckLinkIteratorInstance ();
|
iterator = CreateDeckLinkIteratorInstance ();
|
||||||
if (iterator == NULL) {
|
if (iterator == NULL) {
|
||||||
GST_ERROR ("no driver");
|
GST_DEBUG ("no driver");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,10 @@ static void InitDeckLinkAPI (void)
|
||||||
libraryHandle = dlopen(kDeckLinkAPI_Name, RTLD_NOW|RTLD_GLOBAL);
|
libraryHandle = dlopen(kDeckLinkAPI_Name, RTLD_NOW|RTLD_GLOBAL);
|
||||||
if (!libraryHandle)
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue