diff options
author | Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> | 2016-02-02 17:59:57 +0100 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> | 2016-02-03 12:45:30 +0100 |
commit | 28d01c08576933f1ccc41456f80730a689de0508 (patch) | |
tree | 5f825b8f414da9b00fa4ab9736fcd0e885ef3974 /gst-libs/gst/vaapi/gstvaapiwindow_egl.c | |
parent | 02c0e6c183531ebc4c05c782d95c7c2f5b629da9 (diff) | |
download | gst-vaapi-28d01c08576933f1ccc41456f80730a689de0508.tar.gz |
libs: small code style fixes
This a set of small code style fixes detected as-is by gst-indent.
Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Diffstat (limited to 'gst-libs/gst/vaapi/gstvaapiwindow_egl.c')
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapiwindow_egl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiwindow_egl.c b/gst-libs/gst/vaapi/gstvaapiwindow_egl.c index 412e3a2d..e511e5eb 100644 --- a/gst-libs/gst/vaapi/gstvaapiwindow_egl.c +++ b/gst-libs/gst/vaapi/gstvaapiwindow_egl.c @@ -397,9 +397,9 @@ do_render_texture (GstVaapiWindowEGL * window, const GstVaapiRectangle * rect) texcoords[3][1] = y0; // Target coords in EGL surface - x0 = 2.0f * ((GLfloat) rect->x / tex_width) - 1.0f; + x0 = 2.0f * ((GLfloat) rect->x / tex_width) - 1.0f; y1 = -2.0f * ((GLfloat) rect->y / tex_height) + 1.0f; - x1 = 2.0f * ((GLfloat) (rect->x + rect->width) / tex_width) - 1.0f; + x1 = 2.0f * ((GLfloat) (rect->x + rect->width) / tex_width) - 1.0f; y0 = -2.0f * ((GLfloat) (rect->y + rect->height) / tex_height) + 1.0f; positions[0][0] = x0; positions[0][1] = y0; |