decklink: Initialize capture_time to NONE so it can be used if no video frame is provided but audio is
CID 1358390
This commit is contained in:
parent
761171b6d2
commit
da999d7af8
@ -532,7 +532,7 @@ public:
|
||||
void (*got_audio_packet) (GstElement * videosrc,
|
||||
IDeckLinkAudioInputPacket * packet, GstClockTime capture_time, gboolean discont) = NULL;
|
||||
GstDecklinkModeEnum mode;
|
||||
BMDTimeValue capture_time, capture_duration;
|
||||
BMDTimeValue capture_time = GST_CLOCK_TIME_NONE, capture_duration = GST_CLOCK_TIME_NONE;
|
||||
HRESULT res;
|
||||
|
||||
if (video_frame == NULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user