diff --git a/src/frontend/app/ui/settings/video/video.settings.component.html b/src/frontend/app/ui/settings/video/video.settings.component.html index f4ee7309..17efed27 100644 --- a/src/frontend/app/ui/settings/video/video.settings.component.html +++ b/src/frontend/app/ui/settings/video/video.settings.component.html @@ -68,7 +68,7 @@ description="The height of the output video will be scaled down to this, while keeping the aspect ratio." i18n-name i18n-description [ngModel]="states.server.transcoding.resolution" - (ngModelChange)="updateBitRate()" + (change)="updateBitRate()" [options]="resolutions" required="true"> @@ -79,7 +79,7 @@ description="Target frame per second (fps) of the output video will be scaled down this this." i18n-name i18n-description [ngModel]="states.server.transcoding.fps" - (ngModelChange)="updateBitRate()" + (change)="updateBitRate()" [options]="fps" [simplifiedMode]="simplifiedMode" required="true"> diff --git a/src/frontend/app/ui/settings/video/video.settings.component.ts b/src/frontend/app/ui/settings/video/video.settings.component.ts index 81269343..39a88269 100644 --- a/src/frontend/app/ui/settings/video/video.settings.component.ts +++ b/src/frontend/app/ui/settings/video/video.settings.component.ts @@ -78,7 +78,7 @@ export class VideoSettingsComponent extends SettingsComponent<{ server: ServerCo bitRate = 8 * 1024 * 1024; } else if (resolution <= 1440) { bitRate = 16 * 1024 * 1024; - } else if (resolution <= 2016) { + } else { bitRate = 40 * 1024 * 1024; }