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