]> git.sesse.net Git - nageru/commitdiff
Yet another crash fix in changing output cards.
authorSteinar H. Gunderson <steinar+nageru@gunderson.no>
Sat, 2 Oct 2021 14:17:35 +0000 (16:17 +0200)
committerSteinar H. Gunderson <steinar+nageru@gunderson.no>
Sat, 2 Oct 2021 14:19:55 +0000 (16:19 +0200)
This got broken when we started sharing the IDeckLinkInput interface
for the driver bugfix workaround.

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)