зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1170589 - Force decoder to use all allocated buffers. r=bwu
This commit is contained in:
Родитель
eaa82aedc8
Коммит
5bd83278c7
|
@ -427,6 +427,9 @@ GonkVideoDecoderManager::codecReserved()
|
|||
format->setString("mime", mMimeType.get());
|
||||
format->setInt32("width", mVideoWidth);
|
||||
format->setInt32("height", mVideoHeight);
|
||||
// Set the "moz-use-undequeued-bufs" to use the undeque buffers to accelerate
|
||||
// the video decoding.
|
||||
format->setInt32("moz-use-undequeued-bufs", 1);
|
||||
if (mNativeWindow != nullptr) {
|
||||
surface = new Surface(mNativeWindow->getBufferQueue());
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче