]> git.sesse.net Git - casparcg/blobdiff - modules/ffmpeg/ffmpeg_pipeline_backend_internal.cpp
[ffmpeg] Fixed last two frames in all clips not being displayed
[casparcg] / modules / ffmpeg / ffmpeg_pipeline_backend_internal.cpp
index a652689433988d1df09f76c1dc363c13810e82b9..663d7dee3274edc02e589ec87f0d6c1ab57bba38 100644 (file)
@@ -700,8 +700,7 @@ public:
        void stop() override
        {
                running_ = false;
-               try_pop_frame();
-               try_pop_frame();
+               output_frames_.set_capacity(4);
        }
 
        std::vector<AVSampleFormat> supported_sample_formats() const override