mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-03 13:13:56 +00:00
cellVdec: default FRC workaround
This commit is contained in:
parent
cff39ec3a9
commit
2b79a3691f
@ -296,6 +296,14 @@ struct vdec_thread : ppu_thread
|
||||
next_dts += amend;
|
||||
frame.frc = frc_set;
|
||||
}
|
||||
else if (ctx->time_base.num == 0)
|
||||
{
|
||||
// Hack
|
||||
const u64 amend = u64{90000} / 30;
|
||||
frame.frc = CELL_VDEC_FRC_30;
|
||||
next_pts += amend;
|
||||
next_dts += amend;
|
||||
}
|
||||
else
|
||||
{
|
||||
const u64 amend = u64{90000} * ctx->time_base.num * ctx->ticks_per_frame / ctx->time_base.den;
|
||||
|
Loading…
x
Reference in New Issue
Block a user