mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1067718 - Fix typo error for Pixel Convert in WebRTC. r=jesup
This commit is contained in:
parent
69830a5b8c
commit
e696a4e1f2
@ -197,7 +197,7 @@ public:
|
||||
void StopImpl();
|
||||
void SnapshotImpl();
|
||||
void RotateImage(layers::Image* aImage, uint32_t aWidth, uint32_t aHeight);
|
||||
uint32_t ConvertPixexFormatToFOURCC(int aFormat);
|
||||
uint32_t ConvertPixelFormatToFOURCC(int aFormat);
|
||||
void Notify(const mozilla::hal::ScreenConfiguration& aConfiguration);
|
||||
|
||||
nsresult TakePhoto(PhotoCallback* aCallback) MOZ_OVERRIDE;
|
||||
|
@ -969,7 +969,7 @@ MediaEngineWebRTCVideoSource::OnTakePictureComplete(uint8_t* aData, uint32_t aLe
|
||||
}
|
||||
|
||||
uint32_t
|
||||
MediaEngineWebRTCVideoSource::ConvertPixexFormatToFOURCC(int aFormat)
|
||||
MediaEngineWebRTCVideoSource::ConvertPixelFormatToFOURCC(int aFormat)
|
||||
{
|
||||
switch (aFormat) {
|
||||
case HAL_PIXEL_FORMAT_YCrCb_420_SP:
|
||||
@ -1019,7 +1019,7 @@ MediaEngineWebRTCVideoSource::RotateImage(layers::Image* aImage, uint32_t aWidth
|
||||
aWidth, aHeight,
|
||||
aWidth, aHeight,
|
||||
static_cast<libyuv::RotationMode>(mRotation),
|
||||
ConvertPixexFormatToFOURCC(graphicBuffer->getPixelFormat()));
|
||||
ConvertPixelFormatToFOURCC(graphicBuffer->getPixelFormat()));
|
||||
graphicBuffer->unlock();
|
||||
|
||||
const uint8_t lumaBpp = 8;
|
||||
|
Loading…
Reference in New Issue
Block a user