]> git.sesse.net Git - mlt/blobdiff - src/modules/decklink/consumer_decklink.cpp
Fix a couple null pointer bugs.
[mlt] / src / modules / decklink / consumer_decklink.cpp
index b2c4c2c513c9e2285120344cb007c62a6323cb64..17c496e426429b30f15e852b35edfb5afd270b6f 100644 (file)
@@ -358,6 +358,8 @@ public:
                }
                else
                {
+                       if ( !m_frame )
+                               m_frame = frame;
                        // Reuse the last frame
                        mlt_log_verbose( &m_consumer, "dropped video frame %u\n", ++m_dropped );
                }