зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1067437: Disable resolution changes on OMX H.264 until OMX DSP code is updated r=pkerr
This commit is contained in:
Родитель
856d592c2c
Коммит
f4627b6c9a
|
@ -705,6 +705,20 @@ void ViEEncoder::DeliverFrame(int id,
|
|||
return;
|
||||
}
|
||||
#endif
|
||||
#ifdef MOZ_WEBRTC_OMX
|
||||
// XXX effectively disable resolution changes until Bug 1067437 is resolved with new DSP code
|
||||
if (qm_callback_ && vcm_.SendCodec() == webrtc::kVideoCodecH264) {
|
||||
if (vcm_.RegisterVideoQMCallback(NULL) != 0) {
|
||||
WEBRTC_TRACE(webrtc::kTraceError, webrtc::kTraceVideo,
|
||||
ViEId(engine_id_, channel_id_),
|
||||
"VCM::RegisterQMCallback(NULL) failure");
|
||||
return;
|
||||
}
|
||||
delete qm_callback_;
|
||||
qm_callback_ = NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (vcm_.AddVideoFrame(*decimated_frame,
|
||||
vpm_.ContentMetrics()) != VCM_OK) {
|
||||
WEBRTC_TRACE(webrtc::kTraceError,
|
||||
|
|
Загрузка…
Ссылка в новой задаче