зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1506076 - Mark video android decoder as needing AnnexB. r=jolin,alwu
It only used to work as the H264Converter used to check that the conversion needed was != kNeedAVCC (the default being kNone) Differential Revision: https://phabricator.services.mozilla.com/D11526 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
f48e0b6314
Коммит
1156cc49c3
|
@ -279,6 +279,11 @@ public:
|
|||
return mIsHardwareAccelerated;
|
||||
}
|
||||
|
||||
ConversionRequired NeedsConversion() const override
|
||||
{
|
||||
return ConversionRequired::kNeedAnnexB;
|
||||
}
|
||||
|
||||
private:
|
||||
const VideoInfo mConfig;
|
||||
GeckoSurface::GlobalRef mSurface;
|
||||
|
@ -339,11 +344,6 @@ public:
|
|||
return InitPromise::CreateAndResolve(TrackInfo::kAudioTrack, __func__);
|
||||
}
|
||||
|
||||
ConversionRequired NeedsConversion() const override
|
||||
{
|
||||
return ConversionRequired::kNeedAnnexB;
|
||||
}
|
||||
|
||||
private:
|
||||
class CallbacksSupport final : public JavaCallbacksSupport
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче