mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue