diff options
author | Chong Zhang <chz@google.com> | 2014-02-07 12:05:34 -0800 |
---|---|---|
committer | Chong Zhang <chz@google.com> | 2014-02-07 12:06:56 -0800 |
commit | 37abc0eee8795231cc5b2e409b24604c43fbb5d0 (patch) | |
tree | c3166105e3673d9a00f3ec4255180caacedaf3a8 | |
parent | 7ca6e73bed1d2e1a928104feb6e9ae92953bfff5 (diff) | |
download | frameworks_av-37abc0eee8795231cc5b2e409b24604c43fbb5d0.zip frameworks_av-37abc0eee8795231cc5b2e409b24604c43fbb5d0.tar.gz frameworks_av-37abc0eee8795231cc5b2e409b24604c43fbb5d0.tar.bz2 |
set AAC MPEG version to MPEG-2
wifi display play spec only allows MPEG-2 AAC.
Bug: 12747927
Change-Id: Ic96d27ce57f5c8e7da55e43b38f629b5c7333817
-rw-r--r-- | media/libstagefright/wifi-display/source/TSPacketizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/wifi-display/source/TSPacketizer.cpp b/media/libstagefright/wifi-display/source/TSPacketizer.cpp index c674700..eeb3700 100644 --- a/media/libstagefright/wifi-display/source/TSPacketizer.cpp +++ b/media/libstagefright/wifi-display/source/TSPacketizer.cpp @@ -216,7 +216,7 @@ sp<ABuffer> TSPacketizer::Track::prependADTSHeader( uint8_t *ptr = dup->data(); *ptr++ = 0xff; - *ptr++ = 0xf1; // b11110001, ID=0, layer=0, protection_absent=1 + *ptr++ = 0xf9; // b11111001, ID=1(MPEG-2), layer=0, protection_absent=1 *ptr++ = profile << 6 |