fix codec menu

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages 2023-03-17 15:37:24 +08:00
parent bcfa48e01e
commit 9e73955119

View File

@ -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,
),
]);