[clutter-gst] frame: add pixel aspect ratio values



commit fff8ec530e7c73aa665de728ef865887a606f997
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Thu Mar 14 14:42:46 2013 +0000

    frame: add pixel aspect ratio values

 clutter-gst/clutter-gst-types.c |    2 ++
 clutter-gst/clutter-gst-types.h |    3 +++
 2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/clutter-gst/clutter-gst-types.c b/clutter-gst/clutter-gst-types.c
index bff606c..72edb3c 100644
--- a/clutter-gst/clutter-gst-types.c
+++ b/clutter-gst/clutter-gst-types.c
@@ -38,6 +38,8 @@ clutter_gst_frame_new (CoglPipeline *pipeline)
 
   frame->resolution.width = cogl_texture_get_width (texture);
   frame->resolution.height = cogl_texture_get_height (texture);
+  frame->resolution.par_n = 1;
+  frame->resolution.par_d = 1;
 }
 
 static gpointer
diff --git a/clutter-gst/clutter-gst-types.h b/clutter-gst/clutter-gst-types.h
index ffff545..cccbb45 100644
--- a/clutter-gst/clutter-gst-types.h
+++ b/clutter-gst/clutter-gst-types.h
@@ -80,6 +80,9 @@ struct _ClutterGstVideoResolution
 {
   gint width;
   gint height;
+
+  gint par_n;
+  gint par_d;
 };
 
 /**


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