Skip to content

Commit 9361def

Browse files
committed
add 'rockchip' decoder
the latest libmdk is required
1 parent 43fd873 commit 9361def

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/video_player_mdk.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ class MdkVideoPlayerPlatform extends VideoPlayerPlatform {
156156

157157
if (_decoders == null && !PlatformEx.isAndroidEmulator()) {
158158
// prefer hardware decoders
159-
const vdRk = ['rkmpp', 'FFmpeg', 'dav1d'];
159+
const vdRk = ['rockchip', 'rkmpp', 'FFmpeg', 'dav1d'];
160160
const vdPi = ['V4L2M2M', 'FFmpeg:hwcontext=drm', 'FFmpeg', 'dav1d'];
161161
final vdLinux = PlatformEx.isRockchip()
162162
? vdRk

0 commit comments

Comments
 (0)