Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 417228cb authored by Masamitsu Nakamura's avatar Masamitsu Nakamura Committed by android-build-merger
Browse files

Merge "Set bit rate infomation to meta for OggExtractor"

am: c08194ae

Change-Id: I0ca5947244f4a0a6acdc6065e1bac21d78486d69
parents fe08c189 c08194ae
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1123,6 +1123,7 @@ status_t MyVorbisExtractor::verifyHeader(
            mMeta->setData(kKeyVorbisInfo, 0, data, size);
            mMeta->setInt32(kKeySampleRate, mVi.rate);
            mMeta->setInt32(kKeyChannelCount, mVi.channels);
            mMeta->setInt32(kKeyBitRate, mVi.bitrate_nominal);

            ALOGV("lower-bitrate = %ld", mVi.bitrate_lower);
            ALOGV("upper-bitrate = %ld", mVi.bitrate_upper);