mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
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:
parent
12c678c7cf
commit
135239605f
1 changed files with 1 additions and 6 deletions
|
@ -248,8 +248,7 @@ gst_kate_tiger_base_init (gpointer gclass)
|
||||||
GstElementClass *element_class = GST_ELEMENT_CLASS (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, &src_factory);
|
||||||
gst_element_class_add_static_pad_template (element_class,
|
gst_element_class_add_static_pad_template (element_class, &kate_sink_factory);
|
||||||
&kate_sink_factory);
|
|
||||||
gst_element_class_add_static_pad_template (element_class,
|
gst_element_class_add_static_pad_template (element_class,
|
||||||
&video_sink_factory);
|
&video_sink_factory);
|
||||||
gst_element_class_set_details_simple (element_class, "Kate stream renderer",
|
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)
|
const guint8 * image, gint image_width, gint image_height)
|
||||||
{
|
{
|
||||||
gint xpos = 0, ypos = 0;
|
gint xpos = 0, ypos = 0;
|
||||||
gint width, height;
|
|
||||||
|
|
||||||
width = image_width;
|
|
||||||
height = image_height;
|
|
||||||
|
|
||||||
switch (tiger->video_format) {
|
switch (tiger->video_format) {
|
||||||
case GST_VIDEO_FORMAT_I420:
|
case GST_VIDEO_FORMAT_I420:
|
||||||
|
|
Loading…
Reference in a new issue