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 53a5d230cc
commit f74ee1fc3d
2 changed files with 5 additions and 2 deletions

View File

@@ -10,6 +10,9 @@
/vendor/bin/hw/android\.hardware\.drm(@[0-9]+\.[0-9]+)?-service\.clearkey u:object_r:hal_drm_clearkey_exec:s0 /vendor/bin/hw/android\.hardware\.drm(@[0-9]+\.[0-9]+)?-service\.clearkey u:object_r:hal_drm_clearkey_exec:s0
/vendor/bin/hw/android\.hardware\.drm(@[0-9]+\.[0-9]+)?-service\.widevine u:object_r:hal_drm_widevine_exec:s0 /vendor/bin/hw/android\.hardware\.drm(@[0-9]+\.[0-9]+)?-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 # Gatekeeper
/vendor/bin/hw/android\.hardware\.gatekeeper@1\.0-service.software u:object_r:hal_gatekeeper_default_exec:s0 /vendor/bin/hw/android\.hardware\.gatekeeper@1\.0-service.software u:object_r:hal_gatekeeper_default_exec:s0

View File

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