mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
decklink: Fix compilation with MSVC
This commit is contained in:
parent
97be9446f5
commit
f784fda162
1 changed files with 2 additions and 2 deletions
|
@ -451,7 +451,7 @@ gst_decklink_timecode_format_to_enum (BMDTimecodeFormat f)
|
|||
}
|
||||
|
||||
static const BMDVideoConnection connections[] = {
|
||||
0, /* auto */
|
||||
(BMDVideoConnection)0, /* auto */
|
||||
bmdVideoConnectionSDI,
|
||||
bmdVideoConnectionHDMI,
|
||||
bmdVideoConnectionOpticalSDI,
|
||||
|
@ -808,7 +808,7 @@ public:
|
|||
if (got_video_frame && videosrc && video_frame) {
|
||||
BMDTimeValue stream_time = GST_CLOCK_TIME_NONE;
|
||||
BMDTimeValue stream_duration = GST_CLOCK_TIME_NONE;
|
||||
IDeckLinkTimecode *dtc = NULL;
|
||||
IDeckLinkTimecode *dtc = 0;
|
||||
|
||||
res =
|
||||
video_frame->GetStreamTime (&stream_time, &stream_duration,
|
||||
|
|
Loading…
Reference in a new issue