[gst-cvs] gst-plugins-base: indent: fix damange that gst-indent did some time ago
Stefan Kost
ensonic at kemper.freedesktop.org
Mon Mar 23 08:03:37 PDT 2009
Module: gst-plugins-base
Branch: master
Commit: 46c18b2aa337dda082054e04f8fb0258627dbc9a
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=46c18b2aa337dda082054e04f8fb0258627dbc9a
Author: Stefan Kost <ensonic at users.sf.net>
Date: Tue Mar 17 09:14:02 2009 +0200
indent: fix damange that gst-indent did some time ago
---
gst/videoscale/gstvideoscale.c | 22 ----------------------
1 files changed, 0 insertions(+), 22 deletions(-)
diff --git a/gst/videoscale/gstvideoscale.c b/gst/videoscale/gstvideoscale.c
index 5813f70..2ecdba5 100644
--- a/gst/videoscale/gstvideoscale.c
+++ b/gst/videoscale/gstvideoscale.c
@@ -252,7 +252,6 @@ static void
gst_video_scale_class_init (GstVideoScaleClass * klass)
{
GObjectClass *gobject_class;
-
GstBaseTransformClass *trans_class;
gobject_class = (GObjectClass *) klass;
@@ -339,13 +338,9 @@ gst_video_scale_transform_caps (GstBaseTransform * trans,
GstPadDirection direction, GstCaps * caps)
{
GstVideoScale *videoscale;
-
GstCaps *ret;
-
GstStructure *structure;
-
const GValue *par;
-
gint method;
/* this function is always called with a simple caps */
@@ -407,7 +402,6 @@ static int
gst_video_scale_get_format (GstCaps * caps)
{
int i;
-
GstCaps *icaps, *scaps;
for (i = 0; i < G_N_ELEMENTS (gst_video_scale_format_caps); i++) {
@@ -502,7 +496,6 @@ static gboolean
parse_caps (GstCaps * caps, gint * format, gint * width, gint * height)
{
gboolean ret;
-
GstStructure *structure;
structure = gst_caps_get_structure (caps, 0);
@@ -519,7 +512,6 @@ static gboolean
gst_video_scale_set_caps (GstBaseTransform * trans, GstCaps * in, GstCaps * out)
{
GstVideoScale *videoscale;
-
gboolean ret;
videoscale = GST_VIDEO_SCALE (trans);
@@ -561,9 +553,7 @@ gst_video_scale_get_unit_size (GstBaseTransform * trans, GstCaps * caps,
guint * size)
{
GstVideoScale *videoscale;
-
gint format, width, height;
-
VSImage img;
g_assert (size);
@@ -585,7 +575,6 @@ gst_video_scale_fixate_caps (GstBaseTransform * base, GstPadDirection direction,
GstCaps * caps, GstCaps * othercaps)
{
GstStructure *ins, *outs;
-
const GValue *from_par, *to_par;
g_return_if_fail (gst_caps_is_fixed (caps));
@@ -733,21 +722,13 @@ gst_video_scale_transform (GstBaseTransform * trans, GstBuffer * in,
GstBuffer * out)
{
GstVideoScale *videoscale;
-
GstFlowReturn ret = GST_FLOW_OK;
-
VSImage *dest;
-
VSImage *src;
-
VSImage dest_u;
-
VSImage dest_v;
-
VSImage src_u;
-
VSImage src_v;
-
gint method;
videoscale = GST_VIDEO_SCALE (trans);
@@ -896,11 +877,8 @@ static gboolean
gst_video_scale_src_event (GstBaseTransform * trans, GstEvent * event)
{
GstVideoScale *videoscale;
-
gboolean ret;
-
double a;
-
GstStructure *structure;
videoscale = GST_VIDEO_SCALE (trans);
More information about the Gstreamer-commits
mailing list