mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
decklink: Fix compiler warning
gstdecklink.cpp: In member function ‘virtual HRESULT GStreamerDecklinkInputCallback::VideoInputFrameArrived(IDeckLinkVideoInputFrame*, IDeckLinkAudioInputPacket*)’: gstdecklink.cpp:766:34: error: ‘base_time’ may be used uninitialized in this function [-Werror=maybe-uninitialized] capture_time -= base_time; ^
This commit is contained in:
parent
03615a772a
commit
5725bad218
1 changed files with 1 additions and 1 deletions
|
@ -736,7 +736,7 @@ public:
|
|||
GstClockTime packet_time, gboolean no_signal) = NULL;
|
||||
GstDecklinkModeEnum mode;
|
||||
GstClockTime capture_time = GST_CLOCK_TIME_NONE;
|
||||
GstClockTime base_time;
|
||||
GstClockTime base_time = 0;
|
||||
gboolean no_signal = FALSE;
|
||||
GstClock *clock = NULL;
|
||||
HRESULT res;
|
||||
|
|
Loading…
Reference in a new issue