Bug 1329543 - Amend comment in EMEDecoderModule to not mention Adobe. r=gerald

MozReview-Commit-ID: IB5aSWwjF8I

--HG--
extra : rebase_source : 8fe87d0064c0bf3d9651f78d86d9da760bf278af
This commit is contained in:
Chris Pearce 2017-01-14 16:57:26 +08:00
Родитель 009952ed23
Коммит c7fa60e1fa
1 изменённых файлов: 1 добавлений и 5 удалений

Просмотреть файл

@ -99,11 +99,7 @@ public:
}
} else {
MOZ_ASSERT(!mIsShutdown);
// The Adobe GMP AAC decoder gets confused if we pass it non-encrypted
// samples with valid crypto data. So clear the crypto data, since the
// sample should be decrypted now anyway. If we don't do this and we're
// using the Adobe GMP for unencrypted decoding of data that is decrypted
// by gmp-clearkey, decoding will fail.
// The sample is no longer encrypted, so clear its crypto metadata.
UniquePtr<MediaRawDataWriter> writer(aDecrypted.mSample->CreateWriter());
writer->mCrypto = CryptoSample();
mDecoder->Input(aDecrypted.mSample);