mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +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);
|
||||
}
|
||||
|
||||
if (filter->cvStorage) {
|
||||
cvReleaseMemStorage (&filter->cvStorage);
|
||||
}
|
||||
|
||||
g_free (filter->textbuf);
|
||||
|
||||
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);
|
||||
|
||||
if (!filter->cvStorage) {
|
||||
filter->cvStorage = cvCreateMemStorage (0);
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
|
|
@ -73,7 +73,6 @@ struct _GstOpencvTextOverlay
|
|||
GstPad *sinkpad, *srcpad;
|
||||
|
||||
IplImage *cvImage;
|
||||
CvMemStorage *cvStorage;
|
||||
CvFont font;
|
||||
|
||||
gint xpos;
|
||||
|
|
Loading…
Reference in a new issue