Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #4833 from Stane1983/aml-kk-patch2

Amlogic Android 4.4.2 patchset
  • Loading branch information...
commit 603c7faccf084b41713dea6c377681761a0aa075 2 parents 2e5beaf + 53febb2
@jmarshallnz jmarshallnz authored
View
6 tools/depends/target/libamplayer/android-4.2-to-4.4.patch
@@ -1,18 +1,20 @@
--- a/libamplayer/include/amcodec/amports/vformat.h
+++ b/libamplayer/include/amcodec/amports/vformat.h
-@@ -49,6 +49,7 @@ typedef enum {
+@@ -49,6 +49,8 @@ typedef enum {
VIDEO_DEC_FORMAT_WVC1,
VIDEO_DEC_FORMAT_SW,
VIDEO_DEC_FORMAT_AVS,
+ VIDEO_DEC_FORMAT_H264_4K2K,
++ VIDEO_DEC_FORMAT_HEVC,
VIDEO_DEC_FORMAT_MAX
} vdec_type_t;
-@@ -64,6 +65,7 @@ typedef enum {
+@@ -64,6 +65,8 @@ typedef enum {
VFORMAT_AVS,
VFORMAT_SW,
VFORMAT_H264MVC,
+ VFORMAT_H264_4K2K,
++ VFORMAT_HEVC,
VFORMAT_UNSUPPORT,
VFORMAT_MAX
} vformat_t;
View
2  xbmc/utils/AMLUtils.cpp
@@ -141,6 +141,8 @@ void aml_permissions()
else
{
// certain aml devices have 664 permission, we need 666.
+ system("su -c chmod 666 /dev/amvideo");
+ system("su -c chmod 666 /dev/amstream*");
system("su -c chmod 666 /sys/class/video/axis");
system("su -c chmod 666 /sys/class/video/screen_mode");
system("su -c chmod 666 /sys/class/video/disable_video");
Please sign in to comment.
Something went wrong with that request. Please try again.