mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-09 07:28:14 -07:00
feature: Video BufferSize settings for MPV (#314)
Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
3896bb90f5
commit
d4380d5f6f
9 changed files with 56 additions and 8 deletions
|
|
@ -22,16 +22,16 @@ class DiscoveryInfoMapper extends ClassMapperBase<DiscoveryInfo> {
|
|||
|
||||
static String _$id(DiscoveryInfo v) => v.id;
|
||||
static const Field<DiscoveryInfo, String> _f$id =
|
||||
Field('id', _$id, key: 'Id');
|
||||
Field('id', _$id, key: r'Id');
|
||||
static String _$name(DiscoveryInfo v) => v.name;
|
||||
static const Field<DiscoveryInfo, String> _f$name =
|
||||
Field('name', _$name, key: 'Name');
|
||||
Field('name', _$name, key: r'Name');
|
||||
static String _$address(DiscoveryInfo v) => v.address;
|
||||
static const Field<DiscoveryInfo, String> _f$address =
|
||||
Field('address', _$address, key: 'Address');
|
||||
Field('address', _$address, key: r'Address');
|
||||
static String? _$endPointAddress(DiscoveryInfo v) => v.endPointAddress;
|
||||
static const Field<DiscoveryInfo, String> _f$endPointAddress =
|
||||
Field('endPointAddress', _$endPointAddress, key: 'EndpointAddress');
|
||||
Field('endPointAddress', _$endPointAddress, key: r'EndpointAddress');
|
||||
|
||||
@override
|
||||
final MappableFields<DiscoveryInfo> fields = const {
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ class VideoPlayerSettingsProviderNotifier extends StateNotifier<VideoPlayerSetti
|
|||
|
||||
void setHardwareAccel(bool? value) => state = state.copyWith(hardwareAccel: value ?? true);
|
||||
void setUseLibass(bool? value) => state = state.copyWith(useLibass: value ?? false);
|
||||
|
||||
void setBufferSize(int? value) => state = state.copyWith(bufferSize: value ?? 32);
|
||||
void setFitType(BoxFit? value) => state = state.copyWith(videoFit: value ?? BoxFit.contain);
|
||||
|
||||
void setVolume(double value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue