mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-10 10:04:23 +00:00
decklinkvideosrc: Fix compiler warning
This commit is contained in:
parent
9480d91ad4
commit
beede3f27d
1 changed files with 2 additions and 1 deletions
|
@ -428,7 +428,6 @@ gst_decklink_video_src_open (GstDecklinkVideoSrc * self)
|
|||
{
|
||||
const GstDecklinkMode *mode;
|
||||
BMDVideoInputFlags flags;
|
||||
bool autoDetection;
|
||||
GstCaps *caps;
|
||||
HRESULT ret;
|
||||
|
||||
|
@ -463,6 +462,8 @@ gst_decklink_video_src_open (GstDecklinkVideoSrc * self)
|
|||
|
||||
flags = bmdVideoInputFlagDefault;
|
||||
if (self->mode == GST_DECKLINK_MODE_AUTO) {
|
||||
bool autoDetection = false;
|
||||
|
||||
if (self->input->attributes) {
|
||||
ret =
|
||||
self->input->
|
||||
|
|
Loading…
Reference in a new issue