author | jintao xu <jintao.xu@amlogic.com> | 2018-12-04 12:25:12 (GMT) |
---|---|---|
committer | Pengfei Zhao <pengfei.zhao@amlogic.com> | 2018-12-05 03:23:29 (GMT) |
commit | de4ac70339624197d6a2b986ccde82343a03ac49 (patch) | |
tree | 5a8fe035afaf3bb340d0ade216b1643e8d55fbc6 | |
parent | 8aafceff482e0e32bf21e7281a7850f63575eb61 (diff) | |
download | common-de4ac70339624197d6a2b986ccde82343a03ac49.zip common-de4ac70339624197d6a2b986ccde82343a03ac49.tar.gz common-de4ac70339624197d6a2b986ccde82343a03ac49.tar.bz2 |
video: modify video_inuse sepolicy
bug: 117829122
Problem:
After switching to vdin path, if youtube start
play video again, vdec decoder path also will be
set up, it will lead to display problem.
Solution:
Add video_inuse to limit the use of video display
resource.
Verify:
atom
Change-Id: I875d4f6d7c01aec44a15b237b027805d6fa7f5a1
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
-rw-r--r--[-rwxr-xr-x] | products/mbox/init.amlogic.rc | 1 | ||||
-rw-r--r-- | products/mbox/init.amlogic.system.rc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/products/mbox/init.amlogic.rc b/products/mbox/init.amlogic.rc index 8958c36..8361d00 100755..100644 --- a/products/mbox/init.amlogic.rc +++ b/products/mbox/init.amlogic.rc @@ -20,6 +20,7 @@ on init chmod 666 /sys/class/audiodsp/codec_fatal_err chmod 666 /sys/class/ppmgr/angle chmod 666 /sys/class/vfm/map + chmod 666 /sys/class/video/video_inuse chmod 666 /sys/class/video/axis chmod 666 /sys/class/video/disable_video chmod 666 /sys/class/tsync/enable diff --git a/products/mbox/init.amlogic.system.rc b/products/mbox/init.amlogic.system.rc index 5cdd869..10b9ee9 100644 --- a/products/mbox/init.amlogic.system.rc +++ b/products/mbox/init.amlogic.system.rc @@ -20,6 +20,7 @@ on init chmod 666 /sys/class/audiodsp/codec_fatal_err chmod 666 /sys/class/ppmgr/angle chmod 666 /sys/class/vfm/map + chmod 666 /sys/class/video/video_inuse chmod 666 /sys/class/video/axis chmod 666 /sys/class/video/disable_video chmod 666 /sys/class/tsync/enable |