X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=bmusb.cpp;fp=bmusb.cpp;h=775c88dc288e780a2835ed38851de857b8b80b63;hb=f37788d57a0a83533922c82ad9aaabbda8eb08a7;hp=e9f89e251452ed3bccf88b0dd7f5a2697a8b8d34;hpb=838846a92ca196aa8d5c4169d4478d18b9486432;p=bmusb diff --git a/bmusb.cpp b/bmusb.cpp index e9f89e2..775c88d 100644 --- a/bmusb.cpp +++ b/bmusb.cpp @@ -413,6 +413,7 @@ void BMUSBCapture::dequeue_thread_func() video_frame.frame, HEADER_SIZE, video_format, audio_frame.frame, AUDIO_HEADER_SIZE, audio_format); } else { + video_frame_allocator->release_frame(video_frame.frame); audio_format.sample_rate = last_sample_rate; frame_callback(video_timecode, FrameAllocator::Frame(), 0, video_format,