From 2748e3687dcb27c9e0bf0860ade8c19c22fb4096 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Tue, 18 Jul 2023 14:19:51 +0200 Subject: [PATCH] IDeckLinkVideoOutputCallback haven't virt dtor IDeckLinkVideoOutputCallback doesn't have a virtual desctructor in Windows, thus its subclass destructor cannot be marked override. --- src/video_display/decklink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_display/decklink.cpp b/src/video_display/decklink.cpp index a2ad1b9d8..8eea0a4fb 100644 --- a/src/video_display/decklink.cpp +++ b/src/video_display/decklink.cpp @@ -152,7 +152,7 @@ class PlaybackDelegate : public IDeckLinkVideoOutputCallback // , public IDeckLi m_deckLinkOutput = ido; } void Reset(); - ~PlaybackDelegate() override { + virtual ~PlaybackDelegate() { Reset(); }; void PrintStats();