mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +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,
|
void (*got_audio_packet) (GstElement * videosrc,
|
||||||
IDeckLinkAudioInputPacket * packet, GstClockTime capture_time, gboolean discont) = NULL;
|
IDeckLinkAudioInputPacket * packet, GstClockTime capture_time, gboolean discont) = NULL;
|
||||||
GstDecklinkModeEnum mode;
|
GstDecklinkModeEnum mode;
|
||||||
BMDTimeValue capture_time, capture_duration;
|
BMDTimeValue capture_time = GST_CLOCK_TIME_NONE, capture_duration = GST_CLOCK_TIME_NONE;
|
||||||
HRESULT res;
|
HRESULT res;
|
||||||
|
|
||||||
if (video_frame == NULL)
|
if (video_frame == NULL)
|
||||||
|
|
Loading…
Reference in a new issue