feat(ffmpeg_player): add set_decoder (#9122)

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
蒋慧赟
2025-10-31 00:45:07 +08:00
committed by GitHub
parent 762d82f1ae
commit f9e3aa791c
4 changed files with 89 additions and 35 deletions
+2
View File
@@ -70,6 +70,8 @@ This library can load videos and images. The LVGL file system
will always be used when an image is loaded with :cpp:func:`lv_image_set_src`
regardless of the value of :c:macro:`LV_FFMPEG_PLAYER_USE_LV_FS`.
The ffmpeg player uses software decoding by default. If you require a hardware decoder, you must manually specify it using ``lv_ffmpeg_player_set_decoder``, such as ``h264_v4l2m2m``.
See the examples below for how to correctly use this library.