From: Steinar H. Gunderson Date: Sat, 2 Oct 2021 14:17:35 +0000 (+0200) Subject: Yet another crash fix in changing output cards. X-Git-Tag: 2.1.0~6 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=c443b4ca0f527ed039d4b1014c1dd654c230eb15;hp=3e297b2beb2e7006aff1a2f377ce89b22cfe776d;p=nageru Yet another crash fix in changing output cards. This got broken when we started sharing the IDeckLinkInput interface for the driver bugfix workaround. --- 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)