зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1509316 - p3: transfer image ownership when constructing VideoData. r=jya
Depends on D45772 Differential Revision: https://phabricator.services.mozilla.com/D45773 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
0d8fa45857
Коммит
331d29e410
|
@ -298,7 +298,7 @@ class RemoteVideoDecoder : public RemoteDataDecoder {
|
|||
RefPtr<VideoData> v = VideoData::CreateFromImage(
|
||||
inputInfo.mDisplaySize, offset,
|
||||
TimeUnit::FromMicroseconds(presentationTimeUs),
|
||||
TimeUnit::FromMicroseconds(inputInfo.mDurationUs), img,
|
||||
TimeUnit::FromMicroseconds(inputInfo.mDurationUs), img.forget(),
|
||||
!!(flags & MediaCodec::BUFFER_FLAG_SYNC_FRAME),
|
||||
TimeUnit::FromMicroseconds(presentationTimeUs));
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче