diff options
author | Flex1911 <dedsa2002@gmail.com> | 2017-03-11 18:58:54 +0300 |
---|---|---|
committer | Flex1911 <dedsa2002@gmail.com> | 2017-03-11 19:00:10 +0300 |
commit | ce7f070fff7b36b23d05cfd07a1ef7b8ddd03bb5 (patch) | |
tree | c684bc129ee1ac4f8b8751b0962de0dd13deb6a9 | |
parent | 2c744acb067a6b7036232fbb2939fffa46ee54aa (diff) | |
download | android_hardware_intel_img_psb_video-cm-14.1_old.tar.gz android_hardware_intel_img_psb_video-cm-14.1_old.tar.bz2 android_hardware_intel_img_psb_video-cm-14.1_old.zip |
psb_video: fix video encoding on clovertrail once againcm-14.1_old
Apparently, 2c744ac broken it.
Change-Id: I3fe2f270da1ea3796ce5376194d57d20e9ea893e
-rw-r--r-- | src/Android.mk | 2 | ||||
-rw-r--r-- | src/psb_drv_video.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/Android.mk b/src/Android.mk index d5a0f6c..3daa4f4 100644 --- a/src/Android.mk +++ b/src/Android.mk @@ -160,7 +160,7 @@ LOCAL_SRC_FILES += \ tng_ved_scaling.c LOCAL_CFLAGS += \ - -DPSBVIDEO_MFLD + -DPSBVIDEO_MFLD -DCLOVERTRAIL else LOCAL_SRC_FILES += \ diff --git a/src/psb_drv_video.c b/src/psb_drv_video.c index e8df229..d75b764 100644 --- a/src/psb_drv_video.c +++ b/src/psb_drv_video.c @@ -3465,9 +3465,7 @@ EXPORT VAStatus __vaDriverInit_0_31(VADriverContextP ctx) driver_data->profile2Format[VAProfileH264ConstrainedBaseline][VAEntrypointVLD] = &pnw_H264_vtable; driver_data->vpp_profile = &tng_yuv_processor_vtable; -#ifndef ASUS_ZENFONE2_LP_BLOBS - //driver_data->ved_vpp = 1; -#else +#ifndef CLOVERTRAIL driver_data->ved_vpp = 1; #endif } |