eglglessink: Fix width/height swap in last commit
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 26 Dec 2012 14:58:55 +0000 (15:58 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 26 Dec 2012 14:58:55 +0000 (15:58 +0100)
ext/eglgles/gsteglglessink.c

index 62512b7..d991062 100644 (file)
@@ -1955,7 +1955,7 @@ gst_eglglessink_render_and_display (GstEglGlesSink * eglglessink,
     glViewport (eglglessink->render_region.x,
         eglglessink->eglglesctx.surface_height -
         eglglessink->render_region.y -
-        eglglessink->render_region.w,
+        eglglessink->render_region.h,
         eglglessink->render_region.w, eglglessink->render_region.h);
 
     /* Clear the surface once if its content is preserved */