fix codec menu
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
bcfa48e01e
commit
9e73955119
@ -1404,14 +1404,14 @@ class _DisplayMenuState extends State<_DisplayMenu> {
|
||||
child: Text(translate('H264')),
|
||||
value: 'h264',
|
||||
groupValue: groupValue,
|
||||
onChanged: onChanged,
|
||||
onChanged: codecs[0] ? onChanged : null,
|
||||
ffi: widget.ffi,
|
||||
),
|
||||
_RadioMenuButton<String>(
|
||||
child: Text(translate('H265')),
|
||||
value: 'h265',
|
||||
groupValue: groupValue,
|
||||
onChanged: onChanged,
|
||||
onChanged: codecs[1] ? onChanged : null,
|
||||
ffi: widget.ffi,
|
||||
),
|
||||
]);
|
||||
|
Loading…
Reference in New Issue
Block a user