From 1ff66e59f9592caaad9a502e7a4fff2875adaef5 Mon Sep 17 00:00:00 2001 From: Arne Coucheron Date: Thu, 10 Sep 2015 00:53:11 +0200 Subject: Fix Netflix and YouTube. Use custom google video xml, with removed support of adaptive playback. Change-Id: I6b0f0072a5cf55471043d1e95598359c02f8acf8 --- common.mk | 7 ++- configs/media_codecs.xml | 56 ++++++++++++++--- configs/media_codecs_google_video_le.xml | 101 +++++++++++++++++++++++++++++++ 3 files changed, 151 insertions(+), 13 deletions(-) create mode 100644 configs/media_codecs_google_video_le.xml diff --git a/common.mk b/common.mk index b0e725f..43ec678 100644 --- a/common.mk +++ b/common.mk @@ -98,11 +98,12 @@ PRODUCT_PACKAGES += \ # libOMX.SEC.VP8.Decoder PRODUCT_COPY_FILES += \ - $(COMMON_PATH)/configs/media_profiles.xml:system/etc/media_profiles.xml \ - $(COMMON_PATH)/configs/media_codecs.xml:system/etc/media_codecs.xml \ frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \ frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:system/etc/media_codecs_google_telephony.xml \ - frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml + frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml \ + $(COMMON_PATH)/configs/media_profiles.xml:system/etc/media_profiles.xml \ + $(COMMON_PATH)/configs/media_codecs.xml:system/etc/media_codecs.xml \ + $(COMMON_PATH)/configs/media_codecs_google_video_le.xml:system/etc/media_codecs_google_video_le.xml # Filesystem management tools PRODUCT_PACKAGES += \ diff --git a/configs/media_codecs.xml b/configs/media_codecs.xml index b628b68..48c516c 100755 --- a/configs/media_codecs.xml +++ b/configs/media_codecs.xml @@ -78,18 +78,54 @@ Only the three quirks included above are recognized at this point: - - - - + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - + diff --git a/configs/media_codecs_google_video_le.xml b/configs/media_codecs_google_video_le.xml new file mode 100644 index 0000000..368823e --- /dev/null +++ b/configs/media_codecs_google_video_le.xml @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.1