summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAxel Menzel <AMenzel@xion-medical.com>2017-01-27 19:15:28 +0200
committerSebastian Dröge <sebastian@centricular.com>2017-01-31 14:56:34 +0200
commitf784fda1628db7b7963c28d5cb54471ef5212627 (patch)
tree59b0f105ca89f9c94228f3d55c8960aa9a609dea /sys
parent97be9446f58c16a157f5b88e4f40f192c37e3bad (diff)
downloadgstreamer-plugins-bad-f784fda1628db7b7963c28d5cb54471ef5212627.tar.gz
decklink: Fix compilation with MSVC
Diffstat (limited to 'sys')
-rw-r--r--sys/decklink/gstdecklink.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/decklink/gstdecklink.cpp b/sys/decklink/gstdecklink.cpp
index 74a887f55..d094ed22d 100644
--- a/sys/decklink/gstdecklink.cpp
+++ b/sys/decklink/gstdecklink.cpp
@@ -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,