decklink: Remove unused "bflags" variable

We are ignoring all its flags anyway, so let's remove it altogether.
This commit is contained in:
Vivia Nikolaidou 2017-11-09 12:08:35 +02:00
parent 5ab660c4e2
commit 71bfbce84d

View file

@ -725,7 +725,6 @@ gst_decklink_video_src_got_frame (GstElement * element,
f.no_signal = no_signal; f.no_signal = no_signal;
if (dtc != NULL) { if (dtc != NULL) {
uint8_t hours, minutes, seconds, frames; uint8_t hours, minutes, seconds, frames;
BMDTimecodeFlags bflags;
HRESULT res; HRESULT res;
res = dtc->GetComponents (&hours, &minutes, &seconds, &frames); res = dtc->GetComponents (&hours, &minutes, &seconds, &frames);
@ -734,7 +733,6 @@ gst_decklink_video_src_got_frame (GstElement * element,
(unsigned long) res); (unsigned long) res);
f.tc = NULL; f.tc = NULL;
} else { } else {
bflags = dtc->GetFlags ();
GST_DEBUG_OBJECT (self, "Got timecode %02d:%02d:%02d:%02d", GST_DEBUG_OBJECT (self, "Got timecode %02d:%02d:%02d:%02d",
hours, minutes, seconds, frames); hours, minutes, seconds, frames);
bmode = gst_decklink_get_mode (mode); bmode = gst_decklink_get_mode (mode);