From c443b4ca0f527ed039d4b1014c1dd654c230eb15 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 2 Oct 2021 16:17:35 +0200 Subject: [PATCH] Yet another crash fix in changing output cards. This got broken when we started sharing the IDeckLinkInput interface for the driver bugfix workaround. --- nageru/decklink_output.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/nageru/decklink_output.cpp b/nageru/decklink_output.cpp index 7cd9ef8..56a184e 100644 --- a/nageru/decklink_output.cpp +++ b/nageru/decklink_output.cpp @@ -265,11 +265,6 @@ void DeckLinkOutput::end_output() frame_freelist.pop(); } } - - if (input != nullptr) { - input->Release(); - input = nullptr; - } } void DeckLinkOutput::send_frame(GLuint y_tex, GLuint cbcr_tex, YCbCrLumaCoefficients output_ycbcr_coefficients, const vector &input_frames, int64_t pts, int64_t duration) -- 2.39.2