diff --git a/sys/decklink/gstdecklink.cpp b/sys/decklink/gstdecklink.cpp index 74a887f55f..d094ed22dd 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,