assert(stride == width * 2);
}
- current_video_frame = video_frame_allocator->alloc_frame();
+ current_video_frame = video_frame_allocator->create_frame(width, height, stride);
if (current_video_frame.data != nullptr) {
const uint8_t *src;
video_frame->GetBytes((void **)&src);