Remove the PaceVideocodecDecode workaround for Ys I & II

The blit cost model now paces its movies at 30 fps without it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Henrik RydgårdandClaude Opus 5.5 committed 2026-09-25 16:44:28 -06:00
1 parent 7a675b42d5
commit 8f70003cce
7 files changed
+3 -37

No files matched your search

-11
View File
@@ -193,17 +193,6 @@ bool AvcDecoder::Decode(const u8 *data, int size) {
#endif
}
int AvcDecoder::FramePeriodUs() const {
#ifdef USE_FFMPEG
if (!codecCtx_ || codecCtx_->framerate.num <= 0 || codecCtx_->framerate.den <= 0) {
return 0;
}
return (int)((s64)1000000 * codecCtx_->framerate.den / codecCtx_->framerate.num);
#else
return 0;
#endif
}
const u8 *AvcDecoder::Plane(int index) const {
#ifdef USE_FFMPEG
if (!haveFrame_ || !frame_ || index < 0 || index >= 3) {