cellRec: Remove outdated frame size check
We are rescaling the images to the desired output format in the encoder. The frames themselves are not a fixed container anymore.
This commit is contained in:
@@ -688,8 +688,6 @@ void rec_info::start_video_provider()
|
|||||||
|
|
||||||
if (const s64 pts = encoder->get_pts(frame.timestamp_ms); pts > last_video_pts && !frame.data.empty())
|
if (const s64 pts = encoder->get_pts(frame.timestamp_ms); pts > last_video_pts && !frame.data.empty())
|
||||||
{
|
{
|
||||||
ensure(frame.data.size() == frame_size);
|
|
||||||
|
|
||||||
if (use_ring_buffer)
|
if (use_ring_buffer)
|
||||||
{
|
{
|
||||||
// The video frames originate from our render pipeline and are stored in a ringbuffer.
|
// The video frames originate from our render pipeline and are stored in a ringbuffer.
|
||||||
|
|||||||
Reference in New Issue
Block a user