feature: Video quality options (#234)

Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
PartyDonut 2025-02-23 13:29:59 +01:00 committed by GitHub
parent 957ad6c991
commit 935d6fe176
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 644 additions and 232 deletions

View file

@ -157,6 +157,7 @@ class StreamModel {
class VideoStreamModel extends StreamModel {
final int width;
final int height;
final int? bitRate;
final double frameRate;
final String? videoDoViTitle;
final VideoRangeType? videoRangeType;
@ -168,6 +169,7 @@ class VideoStreamModel extends StreamModel {
required super.index,
required this.videoDoViTitle,
required this.videoRangeType,
required this.bitRate,
required this.width,
required this.height,
required this.frameRate,
@ -179,6 +181,7 @@ class VideoStreamModel extends StreamModel {
isDefault: stream.isDefault ?? false,
codec: stream.codec ?? "",
videoDoViTitle: stream.videoDoViTitle,
bitRate: stream.bitRate,
videoRangeType: stream.videoRangeType,
width: stream.width ?? 0,
height: stream.height ?? 0,