effectv: Fix unused but set variable compiler warnings
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 3 Aug 2011 06:51:19 +0000 (08:51 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 3 Aug 2011 06:51:19 +0000 (08:51 +0200)
gst/effectv/gstquark.c
gst/effectv/gstwarp.c

index 98c9474..b9bb29e 100644 (file)
@@ -113,7 +113,7 @@ gst_quarktv_transform (GstBaseTransform * trans, GstBuffer * in,
     GstBuffer * out)
 {
   GstQuarkTV *filter = GST_QUARKTV (trans);
-  gint area, width, height, sstride, dstride;
+  gint area;
   guint32 *src, *dest;
   GstClockTime timestamp;
   GstBuffer **planetable;
@@ -140,12 +140,7 @@ gst_quarktv_transform (GstBaseTransform * trans, GstBuffer * in,
     goto invalid_out;
 
   src = GST_VIDEO_FRAME_PLANE_DATA (&in_frame, 0);
-  sstride = GST_VIDEO_FRAME_PLANE_STRIDE (&in_frame, 0);
   dest = GST_VIDEO_FRAME_PLANE_DATA (&out_frame, 0);
-  dstride = GST_VIDEO_FRAME_PLANE_STRIDE (&out_frame, 0);
-
-  width = GST_VIDEO_FRAME_WIDTH (&in_frame);
-  height = GST_VIDEO_FRAME_HEIGHT (&in_frame);
 
   GST_OBJECT_LOCK (filter);
   area = filter->area;
index 4882d6a..2fae3e5 100644 (file)
@@ -162,7 +162,7 @@ gst_warptv_transform (GstBaseTransform * trans, GstBuffer * in, GstBuffer * out)
   gint width, height;
   gint xw, yw, cw;
   gint32 c, i, x, y, dx, dy, maxx, maxy;
-  gint32 skip, *ctptr, *distptr;
+  gint32 *ctptr, *distptr;
   gint32 *ctable;
   guint32 *src, *dest;
   gint sstride, dstride;
@@ -191,7 +191,6 @@ gst_warptv_transform (GstBaseTransform * trans, GstBuffer * in, GstBuffer * out)
   distptr = warptv->disttable;
   ctable = warptv->ctable;
 
-  skip = 0;                     /* video_width*sizeof(RGB32)/4 - video_width;; */
   c = 0;
 
   for (x = 0; x < 512; x++) {