OSDN Git Service

Enable Stagefright FFMPEG plugins
authorChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 25 Apr 2017 10:13:42 +0000 (18:13 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Sun, 7 May 2017 10:40:31 +0000 (18:40 +0800)
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
device.mk
media_codecs.xml
packages.mk

index 25f4100..c5359bd 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -20,7 +20,9 @@ PRODUCT_PROPERTY_OVERRIDES := \
     ro.ril.hsxpa=1 \
     ro.ril.gprsclass=10 \
     keyguard.no_require_sim=true \
-    ro.com.android.dataroaming=true
+    ro.com.android.dataroaming=true \
+    media.sf.omx-plugin=libffmpeg_omx.so \
+    media.sf.extractor-plugin=libffmpeg_extractor.so
 
 PRODUCT_DEFAULT_PROPERTY_OVERRIDES := \
     ro.arch=x86 \
index ba1fbdb..5b31bac 100644 (file)
@@ -78,6 +78,7 @@ Only the three quirks included above are recognized at this point:
 -->
 
 <MediaCodecs>
+    <Include href="media_codecs_ffmpeg.xml" />
     <Include href="media_codecs_google_audio.xml" />
     <Include href="media_codecs_google_video.xml" />
 </MediaCodecs>
index 0e9889a..31bcaa4 100644 (file)
@@ -85,6 +85,13 @@ PRODUCT_PACKAGES += \
     hciconfig \
     hcitool \
 
+# Stagefright FFMPEG plugins
+PRODUCT_PACKAGES += \
+    i965_drv_video \
+    libffmpeg_extractor \
+    libffmpeg_omx \
+    media_codecs_ffmpeg.xml
+
 # Third party apps
 PRODUCT_PACKAGES += \
     CMFileManager \