HRESULT CDeckLinkGLWidget::QueryInterface (REFIID iid, LPVOID *ppv)
{
+ Q_UNUSED(iid);
*ppv = NULL;
return E_NOINTERFACE;
}
HRESULT DeckLinkCaptureDelegate::VideoInputFormatChanged(BMDVideoInputFormatChangedEvents events, IDeckLinkDisplayMode *mode, BMDDetectedVideoInputFormatFlags)
{
+ Q_UNUSED(events);
+ Q_UNUSED(mode);
return S_OK;
}
CaptureHandler::CaptureHandler(QVBoxLayout *lay, QWidget *parent):
- m_layout(lay)
- , m_parent(parent)
- , previewView(NULL)
- , deckLinkInput(NULL)
- , displayModeIterator(NULL)
- , deckLink(NULL)
- , displayMode(NULL)
- , delegate(NULL)
- , deckLinkIterator(NULL)
+ previewView(NULL),
+ deckLinkIterator(NULL),
+ delegate(NULL),
+ displayMode(NULL),
+ deckLink(NULL),
+ deckLinkInput(NULL),
+ displayModeIterator(NULL),
+ m_layout(lay),
+ m_parent(parent)
{
}
BMDPixelFormat pixelFormat = bmdFormat8BitYUV;
int displayModeCount = 0;
int exitStatus = 1;
- int ch;
+ //int ch;
bool foundDisplayMode = false;
- HRESULT result;
+ HRESULT result = 1;
/*pthread_mutex_init(&sleepMutex, NULL);
pthread_cond_init(&sleepCond, NULL);*/