Bug 1117777 - Fix inverted MP4 videos on Android r=jgilbert

This commit is contained in:
James Willcox 2015-01-05 10:53:31 -06:00
parent b8b1df6dc1
commit a19ed3831f
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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());