зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
009952ed23
Коммит
c7fa60e1fa
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче