[clutter-gst] clutter-gst-frame: fix resolution



commit 136c57cf198db7e58293212f2d7b9411e334fa1f
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Wed Mar 13 14:40:25 2013 +0000

    clutter-gst-frame: fix resolution

 clutter-gst/clutter-gst-types.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter-gst/clutter-gst-types.c b/clutter-gst/clutter-gst-types.c
index d4f632d..bff606c 100644
--- a/clutter-gst/clutter-gst-types.c
+++ b/clutter-gst/clutter-gst-types.c
@@ -37,7 +37,7 @@ clutter_gst_frame_new (CoglPipeline *pipeline)
   texture = cogl_pipeline_get_layer_texture (pipeline, 0);
 
   frame->resolution.width = cogl_texture_get_width (texture);
-  frame->resolution.height = cogl_texture_get_width (texture);
+  frame->resolution.height = cogl_texture_get_height (texture);
 }
 
 static gpointer


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]