Commit da999d7a authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

decklink: Initialize capture_time to NONE so it can be used if no video frame...

decklink: Initialize capture_time to NONE so it can be used if no video frame is provided but audio is

CID 1358390
parent 761171b6
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment