decklinkvideosrc: Fix compiler warning
This commit is contained in:
parent
9480d91ad4
commit
beede3f27d
@ -428,7 +428,6 @@ gst_decklink_video_src_open (GstDecklinkVideoSrc * self)
|
|||||||
{
|
{
|
||||||
const GstDecklinkMode *mode;
|
const GstDecklinkMode *mode;
|
||||||
BMDVideoInputFlags flags;
|
BMDVideoInputFlags flags;
|
||||||
bool autoDetection;
|
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
HRESULT ret;
|
HRESULT ret;
|
||||||
|
|
||||||
@ -463,6 +462,8 @@ gst_decklink_video_src_open (GstDecklinkVideoSrc * self)
|
|||||||
|
|
||||||
flags = bmdVideoInputFlagDefault;
|
flags = bmdVideoInputFlagDefault;
|
||||||
if (self->mode == GST_DECKLINK_MODE_AUTO) {
|
if (self->mode == GST_DECKLINK_MODE_AUTO) {
|
||||||
|
bool autoDetection = false;
|
||||||
|
|
||||||
if (self->input->attributes) {
|
if (self->input->attributes) {
|
||||||
ret =
|
ret =
|
||||||
self->input->
|
self->input->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user