mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
effectv: Fix unused but set variable compiler warnings
This commit is contained in:
parent
5771056ed5
commit
4aa5485cfc
2 changed files with 2 additions and 8 deletions
|
@ -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;
|
||||
|
|
|
@ -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++) {
|
||||
|
|
Loading…
Reference in a new issue