mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-27 02:43:07 +00:00
Backed out changeset e87724022bc1 (bug 1043558) a=ryanvm (feature bustage)
This commit is contained in:
parent
72ff2b430b
commit
cce3dffb00
@ -997,12 +997,7 @@ MediaEngineWebRTCVideoSource::RotateImage(layers::Image* aImage, uint32_t aWidth
|
||||
|
||||
uint8_t* srcPtr = static_cast<uint8_t*>(pMem);
|
||||
// Create a video frame and append it to the track.
|
||||
#ifdef MOZ_WIDGET_GONK
|
||||
ImageFormat format = ImageFormat::GRALLOC_PLANAR_YCBCR;
|
||||
#else
|
||||
ImageFormat format = ImageFormat::PLANAR_YCBCR;
|
||||
#endif
|
||||
nsRefPtr<layers::Image> image = mImageContainer->CreateImage(format);
|
||||
nsRefPtr<layers::Image> image = mImageContainer->CreateImage(ImageFormat::PLANAR_YCBCR);
|
||||
layers::PlanarYCbCrImage* videoImage = static_cast<layers::PlanarYCbCrImage*>(image.get());
|
||||
|
||||
uint32_t dstWidth;
|
||||
|
Loading…
Reference in New Issue
Block a user