diff --git a/src/video_compress/cineform.cpp b/src/video_compress/cineform.cpp index 739e3cf42..140ec4a97 100644 --- a/src/video_compress/cineform.cpp +++ b/src/video_compress/cineform.cpp @@ -365,6 +365,7 @@ static void cineform_compress_push(struct module *state, std::shared_ptr dummy(vf_alloc_desc_data(s->precompress_desc), vf_free); video_frame *dummy_ptr = dummy.get(); + vf_clear(dummy_ptr); s->stop = true; s->frame_queue.push(std::move(dummy));