Fix setting pgs renderer aspect ratio
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
@@ -2112,7 +2112,7 @@ export class HtmlVideoPlayer {
|
||||
}
|
||||
|
||||
if (this.#currentPgsRenderer) {
|
||||
this.#currentPgsRenderer = val === 'auto' ? 'contain' : val;
|
||||
this.#currentPgsRenderer.aspectRatio = val === 'auto' ? 'contain' : val;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user