]> git.sesse.net Git - nageru/blobdiff - nageru/decklink_output.cpp
Yet another crash fix in changing output cards.
[nageru] / nageru / decklink_output.cpp
index 7cd9ef88f8be85abd41714e620c306dfe101e9f2..56a184e99b326cc6ab3107c985f59bf0345bd384 100644 (file)
@@ -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<RefCountedFrame> &input_frames, int64_t pts, int64_t duration)