summaryrefslogtreecommitdiff
path: root/clutter-gst/clutter-gst-types.c
diff options
context:
space:
mode:
authorBastian Winkler <buz@netbuz.org>2013-03-19 11:44:51 +0100
committerLionel Landwerlin <llandwerlin@gmail.com>2013-03-20 14:35:56 +0000
commit728a07435a0224202041e4c3603e02547f04b980 (patch)
tree50b116e4d124b9de6d62bb0e750cba60de461e5a /clutter-gst/clutter-gst-types.c
parent9c36b1a915905dd4421e27113b3de882a12c4f9c (diff)
downloadclutter-gst-728a07435a0224202041e4c3603e02547f04b980.tar.gz
frame: Add missing return value to clutter_gst_frame_new
Fix clutter_gst_frame_new to really return a new frame. https://bugzilla.gnome.org/show_bug.cgi?id=696127
Diffstat (limited to 'clutter-gst/clutter-gst-types.c')
-rw-r--r--clutter-gst/clutter-gst-types.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/clutter-gst/clutter-gst-types.c b/clutter-gst/clutter-gst-types.c
index 72edb3c..c4b7204 100644
--- a/clutter-gst/clutter-gst-types.c
+++ b/clutter-gst/clutter-gst-types.c
@@ -40,6 +40,8 @@ clutter_gst_frame_new (CoglPipeline *pipeline)
frame->resolution.height = cogl_texture_get_height (texture);
frame->resolution.par_n = 1;
frame->resolution.par_d = 1;
+
+ return frame;
}
static gpointer