зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1073003 - Fix -Wsign-compare warnings. r=ehsan
--HG-- extra : rebase_source : d1b67f0a11461b5dcd2b70626a2bf9cbb21bd82a extra : source : c94e789de3e6ec87e9d605a98ca95fd5009ff126
This commit is contained in:
Родитель
ad3d46565a
Коммит
ee547e466a
|
@ -847,8 +847,8 @@ WebrtcOMXH264VideoEncoder::Encode(const webrtc::I420VideoFrame& aInputImage,
|
|||
// Have to reconfigure for resolution or framerate changes :-(
|
||||
// ~220ms initial configure on 8x10, 50-100ms for re-configure it appears
|
||||
// XXX drop frames while this is happening?
|
||||
if (aInputImage.width() != mWidth ||
|
||||
aInputImage.height() != mHeight) {
|
||||
if (aInputImage.width() < 0 || (uint32_t)aInputImage.width() != mWidth ||
|
||||
aInputImage.height() < 0 || (uint32_t)aInputImage.height() != mHeight) {
|
||||
mWidth = aInputImage.width();
|
||||
mHeight = aInputImage.height();
|
||||
mOMXReconfigure = true;
|
||||
|
|
Загрузка…
Ссылка в новой задаче