Skip to content

Commit

Permalink
IDeckLinkVideoOutputCallback haven't virt dtor
Browse files Browse the repository at this point in the history
IDeckLinkVideoOutputCallback doesn't have a virtual desctructor in
Windows, thus its subclass destructor cannot be marked override.
  • Loading branch information
MartinPulec committed Jul 18, 2023
1 parent d2b39ac commit 2748e36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video_display/decklink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class PlaybackDelegate : public IDeckLinkVideoOutputCallback // , public IDeckLi
m_deckLinkOutput = ido;
}
void Reset();
~PlaybackDelegate() override {
virtual ~PlaybackDelegate() {
Reset();
};
void PrintStats();
Expand Down

0 comments on commit 2748e36

Please sign in to comment.