mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 06:51:26 +12:00
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:
parent
a4011376e0
commit
57ee3c6a6d
1 changed files with 1 additions and 3 deletions
|
@ -312,7 +312,7 @@ struct rec_info
|
||||||
void rec_info::set_video_params(s32 video_format)
|
void rec_info::set_video_params(s32 video_format)
|
||||||
{
|
{
|
||||||
const s32 video_type = video_format & 0xf000;
|
const s32 video_type = video_format & 0xf000;
|
||||||
const s32 video_quality = video_format & 0xf00;
|
const s32 video_quality = video_format & 0xf00;
|
||||||
|
|
||||||
switch (video_format)
|
switch (video_format)
|
||||||
{
|
{
|
||||||
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue