[cogl/wip/cogl-gst] Remove some trailing whitespace
- From: Neil Roberts <nroberts src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/wip/cogl-gst] Remove some trailing whitespace
- Date: Fri, 8 Mar 2013 17:26:19 +0000 (UTC)
commit a075ca32aef2eebb8cb4ffb55ef9119972d962c0
Author: Neil Roberts <neil linux intel com>
Date: Fri Mar 8 16:02:54 2013 +0000
Remove some trailing whitespace
cogl-gst/cogl-gst-video-sink.c | 14 +++++++-------
1 files 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]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]