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:
Jean-Yves Avenard 2018-11-09 22:07:40 +00:00
Родитель f48e0b6314
Коммит 1156cc49c3
1 изменённых файлов: 5 добавлений и 5 удалений

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

@ -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
{