Fix wantToUpscale
This commit is contained in:
@@ -170,14 +170,19 @@
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-3">
|
||||
<label class="mb-2">Process remux</label>
|
||||
<div class="col-3 pt-3">
|
||||
<div class="form-check form-switch">
|
||||
<input [ngModelOptions]="{standalone: true}" [(ngModel)]="processRemux" class="form-check-input" type="checkbox" role="switch" id="remuxProcess">
|
||||
<label class="form-check-label" for="remuxProcess">
|
||||
Process Full MKV Remux
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-check form-switch">
|
||||
<input [ngModelOptions]="{standalone: true}" [(ngModel)]="wantToUpscale" class="form-check-input" type="checkbox" role="switch" id="upscaleProcess">
|
||||
<label class="form-check-label" for="upscaleProcess">
|
||||
Upscale 2x
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mt-2">
|
||||
|
||||
@@ -23,6 +23,7 @@ export class AppComponent implements OnInit {
|
||||
lastJobSuccess: boolean = false;
|
||||
welcomeHeader: any = null;
|
||||
processRemux: boolean = true;
|
||||
wantToUpscale: boolean = true;
|
||||
loaded: any = null;
|
||||
Math: any = Math;
|
||||
|
||||
@@ -242,7 +243,8 @@ export class AppComponent implements OnInit {
|
||||
wantedResolution: this.loaded.videoTracks.find((res: any) => res.name === formData.wantedResolution),
|
||||
mpdUrl: this.loadForm.get('mpdUrl')?.value,
|
||||
mp4Filename: this.loadForm.get('mp4Filename')?.value,
|
||||
wantedRemux: this.processRemux
|
||||
wantedRemux: this.processRemux,
|
||||
wantToUpscale: this.wantToUpscale
|
||||
});
|
||||
this.videoProcessingService.startProcess(data).subscribe({
|
||||
next: (response) => {
|
||||
|
||||
Reference in New Issue
Block a user