kate: fix set-but-not-used-variable compiler warning

gstkatetiger.c:1156:15: error: variable 'height' set but not used
gstkatetiger.c:1156:8: error: variable 'width' set but not used
This commit is contained in:
Tim-Philipp Müller 2011-11-29 09:22:38 +00:00
parent 12c678c7cf
commit 135239605f

View file

@ -248,8 +248,7 @@ gst_kate_tiger_base_init (gpointer gclass)
GstElementClass *element_class = GST_ELEMENT_CLASS (gclass);
gst_element_class_add_static_pad_template (element_class, &src_factory);
gst_element_class_add_static_pad_template (element_class,
&kate_sink_factory);
gst_element_class_add_static_pad_template (element_class, &kate_sink_factory);
gst_element_class_add_static_pad_template (element_class,
&video_sink_factory);
gst_element_class_set_details_simple (element_class, "Kate stream renderer",
@ -1153,10 +1152,6 @@ gst_kate_tiger_blend_yuv (GstKateTiger * tiger, GstBuffer * video_frame,
const guint8 * image, gint image_width, gint image_height)
{
gint xpos = 0, ypos = 0;
gint width, height;
width = image_width;
height = image_height;
switch (tiger->video_format) {
case GST_VIDEO_FORMAT_I420: