mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1117777 - Fix inverted MP4 videos on Android r=jgilbert
This commit is contained in:
parent
b8b1df6dc1
commit
a19ed3831f
@ -138,7 +138,7 @@ public:
|
||||
data.mSync = eglSync;
|
||||
data.mOwns = true;
|
||||
data.mSize = gfx::IntSize(mConfig.display_width, mConfig.display_height);
|
||||
data.mOriginPos = gl::OriginPos::TopLeft;
|
||||
data.mOriginPos = gl::OriginPos::BottomLeft;
|
||||
|
||||
layers::EGLImageImage* typedImg = static_cast<layers::EGLImageImage*>(img.get());
|
||||
typedImg->SetData(data);
|
||||
|
@ -61,7 +61,7 @@ GLImage::GetAsSourceSurface()
|
||||
|
||||
GLBlitHelper helper(sSnapshotContext);
|
||||
|
||||
helper.BlitImageToFramebuffer(this, size, fb.FB(), false);
|
||||
helper.BlitImageToFramebuffer(this, size, fb.FB(), true);
|
||||
|
||||
ScopedBindFramebuffer bind(sSnapshotContext, fb.FB());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user