diff --git a/lib/models/video/play/quality.dart b/lib/models/video/play/quality.dart index 6cae84cc..96077364 100644 --- a/lib/models/video/play/quality.dart +++ b/lib/models/video/play/quality.dart @@ -94,18 +94,18 @@ extension AudioQualityDesc on AudioQuality { enum VideoDecodeFormats { DVH1, - AV1, - HEVC, AVC, + HEVC, + AV1, } extension VideoDecodeFormatsDesc on VideoDecodeFormats { - static final List _descList = ['DVH1', 'AV1', 'HEVC', 'AVC']; + static final List _descList = ['DVH1', 'AVC', 'HEVC', 'AV1']; get description => _descList[index]; } extension VideoDecodeFormatsCode on VideoDecodeFormats { - static final List _codeList = ['dvh1', 'av01', 'hev1', 'avc1']; + static final List _codeList = ['dvh1', 'avc1', 'hev1', 'av01']; get code => _codeList[index]; static VideoDecodeFormats? fromCode(String code) {