mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
textoverlay: remove unused variable
Memory is reserved for this variable but never used. Removing it.
This commit is contained in:
parent
ad0d035150
commit
a77d61edc5
2 changed files with 0 additions and 8 deletions
|
@ -137,10 +137,6 @@ gst_opencv_text_overlay_finalize (GObject * obj)
|
||||||
cvReleaseImage (&filter->cvImage);
|
cvReleaseImage (&filter->cvImage);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (filter->cvStorage) {
|
|
||||||
cvReleaseMemStorage (&filter->cvStorage);
|
|
||||||
}
|
|
||||||
|
|
||||||
g_free (filter->textbuf);
|
g_free (filter->textbuf);
|
||||||
|
|
||||||
G_OBJECT_CLASS (gst_opencv_text_overlay_parent_class)->finalize (obj);
|
G_OBJECT_CLASS (gst_opencv_text_overlay_parent_class)->finalize (obj);
|
||||||
|
@ -360,9 +356,6 @@ gst_opencv_text_overlay_handle_sink_event (GstPad * pad, GstObject * parent,
|
||||||
}
|
}
|
||||||
filter->cvImage = cvCreateImage (cvSize (width, height), IPL_DEPTH_8U, 3);
|
filter->cvImage = cvCreateImage (cvSize (width, height), IPL_DEPTH_8U, 3);
|
||||||
|
|
||||||
if (!filter->cvStorage) {
|
|
||||||
filter->cvStorage = cvCreateMemStorage (0);
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -73,7 +73,6 @@ struct _GstOpencvTextOverlay
|
||||||
GstPad *sinkpad, *srcpad;
|
GstPad *sinkpad, *srcpad;
|
||||||
|
|
||||||
IplImage *cvImage;
|
IplImage *cvImage;
|
||||||
CvMemStorage *cvStorage;
|
|
||||||
CvFont font;
|
CvFont font;
|
||||||
|
|
||||||
gint xpos;
|
gint xpos;
|
||||||
|
|
Loading…
Reference in a new issue