Fix setting pgs renderer aspect ratio

Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
Bill Thornton
2025-04-02 13:50:56 -04:00
committed by GitHub
parent 34282e821a
commit 408b31e97a
+1 -1
View File
@@ -2112,7 +2112,7 @@ export class HtmlVideoPlayer {
}
if (this.#currentPgsRenderer) {
this.#currentPgsRenderer = val === 'auto' ? 'contain' : val;
this.#currentPgsRenderer.aspectRatio = val === 'auto' ? 'contain' : val;
}
}