[Cogl] [PATCH 1/4] Remove some trailing whitespace
Neil Roberts
neil at linux.intel.com
Fri Mar 8 09:33:10 PST 2013
---
cogl-gst/cogl-gst-video-sink.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/cogl-gst/cogl-gst-video-sink.c b/cogl-gst/cogl-gst-video-sink.c
index d669d2d..49e115d 100644
--- a/cogl-gst/cogl-gst-video-sink.c
+++ b/cogl-gst/cogl-gst-video-sink.c
@@ -176,7 +176,7 @@ cogl_gst_video_sink_attach_frame (CoglGstVideoSink *sink,
cogl_pipeline_set_layer_texture (pln, 1, sink->priv->frame[1]);
if (sink->priv->frame[2] != NULL)
cogl_pipeline_set_layer_texture (pln, 2, sink->priv->frame[2]);
-
+
return sink->priv->free_layer;
}
@@ -296,7 +296,7 @@ CoglPipeline*
cogl_gst_video_sink_get_pipeline (CoglGstVideoSink *vt)
{
if (vt->priv->frame[0])
- create_paint_pipeline (vt, vt->priv->frame[0], vt->priv->frame[1],
+ create_paint_pipeline (vt, vt->priv->frame[0], vt->priv->frame[1],
vt->priv->frame[2]);
return vt->priv->pipeline;
}
@@ -339,7 +339,7 @@ cogl_gst_rgb24_upload (CoglGstVideoSink *sink,
if (!gst_video_frame_map (&frame, &priv->info, buffer, GST_MAP_READ))
goto map_fail;
-
+
if (priv->frame[0])
{
cogl_object_unref (priv->frame[0]);
@@ -389,7 +389,7 @@ cogl_gst_rgb32_upload (CoglGstVideoSink *sink,
if (!gst_video_frame_map (&frame, &priv->info, buffer, GST_MAP_READ))
goto map_fail;
-
+
if (priv->frame[0])
{
cogl_object_unref (priv->frame[0]);
@@ -433,13 +433,13 @@ cogl_gst_yv12_upload (CoglGstVideoSink *sink,
if (!gst_video_frame_map (&frame, &priv->info, buffer, GST_MAP_READ))
goto map_fail;
-
+
if (priv->frame[0] && priv->frame[1] && priv->frame[2])
{
cogl_object_unref (priv->frame[0]);
cogl_object_unref (priv->frame[1]);
cogl_object_unref (priv->frame[2]);
-
+
priv->frame[0] = NULL;
priv->frame[1] = NULL;
priv->frame[2] = NULL;
@@ -606,7 +606,7 @@ cogl_gst_hw_upload (CoglGstVideoSink *sink,
unsigned int gl_tex;
unsigned int gl_tar;
GValue value = {0};
-
+
if (priv->frame[0])
{
cogl_object_unref (priv->frame[0]);
--
1.7.11.3.g3c3efa5
More information about the Cogl
mailing list