mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 07:28:53 +00:00
decklink: Fix compiler warnings with gcc in the dispatcher
This commit is contained in:
parent
c4ba73e39b
commit
d0892984bc
1 changed files with 4 additions and 2 deletions
|
@ -51,7 +51,7 @@ static CreateOpenGLScreenPreviewHelperFunc gCreateOpenGLPreviewFunc = NULL;
|
||||||
static CreateVideoConversionInstanceFunc gCreateVideoConversionFunc = NULL;
|
static CreateVideoConversionInstanceFunc gCreateVideoConversionFunc = NULL;
|
||||||
static CreateDeckLinkDiscoveryInstanceFunc gCreateDeckLinkDiscoveryFunc = NULL;
|
static CreateDeckLinkDiscoveryInstanceFunc gCreateDeckLinkDiscoveryFunc = NULL;
|
||||||
|
|
||||||
void InitDeckLinkAPI (void)
|
static void InitDeckLinkAPI (void)
|
||||||
{
|
{
|
||||||
void *libraryHandle;
|
void *libraryHandle;
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ void InitDeckLinkAPI (void)
|
||||||
fprintf(stderr, "%s\n", dlerror());
|
fprintf(stderr, "%s\n", dlerror());
|
||||||
}
|
}
|
||||||
|
|
||||||
void InitDeckLinkPreviewAPI (void)
|
static void InitDeckLinkPreviewAPI (void)
|
||||||
{
|
{
|
||||||
void *libraryHandle;
|
void *libraryHandle;
|
||||||
|
|
||||||
|
@ -93,11 +93,13 @@ void InitDeckLinkPreviewAPI (void)
|
||||||
fprintf(stderr, "%s\n", dlerror());
|
fprintf(stderr, "%s\n", dlerror());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
bool IsDeckLinkAPIPresent (void)
|
bool IsDeckLinkAPIPresent (void)
|
||||||
{
|
{
|
||||||
// If the DeckLink API dynamic library was successfully loaded, return this knowledge to the caller
|
// If the DeckLink API dynamic library was successfully loaded, return this knowledge to the caller
|
||||||
return gLoadedDeckLinkAPI;
|
return gLoadedDeckLinkAPI;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
IDeckLinkIterator* CreateDeckLinkIteratorInstance (void)
|
IDeckLinkIterator* CreateDeckLinkIteratorInstance (void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue