eglglessink: Don't access local value from struct

This commit is contained in:
Reynaldo H. Verdejo Pinochet 2012-10-04 01:29:40 -03:00 committed by Sebastian Dröge
parent 2ab9de8e4f
commit c255aa5dd4

View file

@ -1432,9 +1432,7 @@ gst_eglglessink_update_surface_dimensions (GstEglGlesSink * eglglessink)
height != eglglessink->eglglesctx->surface_height) {
eglglessink->eglglesctx->surface_width = width;
eglglessink->eglglesctx->surface_height = height;
GST_INFO_OBJECT (eglglessink, "Got surface of %dx%d pixels",
eglglessink->eglglesctx->surface_width,
eglglessink->eglglesctx->surface_height);
GST_INFO_OBJECT (eglglessink, "Got surface of %dx%d pixels", width, height);
return TRUE;
}