sepolicy: add ffmpeg service

* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/7
* ABC OCD
This commit is contained in:
Konsta
2023-02-03 11:56:36 +02:00
parent 71e3493aa7
commit f724b0f13a
2 changed files with 5 additions and 2 deletions

View File

@@ -10,6 +10,9 @@
/vendor/bin/hw/android\.hardware\.drm@1\.4-service\.clearkey u:object_r:hal_drm_clearkey_exec:s0
/vendor/bin/hw/android\.hardware\.drm@1\.4-service\.widevine u:object_r:hal_drm_widevine_exec:s0
# FFmpeg
/vendor/bin/hw/android\.hardware\.media\.c2@1\.2-service-ffmpeg(.*)? u:object_r:mediacodec_exec:s0
# Gatekeeper
/vendor/bin/hw/android\.hardware\.gatekeeper@1\.0-service.software u:object_r:hal_gatekeeper_default_exec:s0

View File

@@ -16,10 +16,10 @@ ro.hardware.camera=libcamera
debug.drm.mode.force=1920x1080
# FFmpeg
persist.ffmpeg_codec2.v4l2.h264=false
persist.ffmpeg_codec2.v4l2.h265=true
persist.ffmpeg_codec2.rank.audio=16
persist.ffmpeg_codec2.rank.video=256
persist.ffmpeg_codec2.v4l2.h264=false
persist.ffmpeg_codec2.v4l2.h265=true
# Graphics
ro.hardware.hwcomposer=drm