qroverlay: Fix some warnings

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1730>
This commit is contained in:
Thibault Saunier 2020-07-09 12:51:23 -04:00 committed by GStreamer Merge Bot
parent c743d5db23
commit 3db26e3f96

View file

@ -135,10 +135,11 @@ gst_qr_overlay_class_init (GstQROverlayClass * klass)
{ {
GObjectClass *gobject_class; GObjectClass *gobject_class;
GstElementClass *gstelement_class; GstElementClass *gstelement_class;
GstBaseTransformClass *trans_class;
gobject_class = (GObjectClass *) klass; gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass; gstelement_class = (GstElementClass *) klass;
GstBaseTransformClass *trans_class = (GstBaseTransformClass *) klass; trans_class = (GstBaseTransformClass *) klass;
gobject_class->set_property = gst_qr_overlay_set_property; gobject_class->set_property = gst_qr_overlay_set_property;
gobject_class->get_property = gst_qr_overlay_get_property; gobject_class->get_property = gst_qr_overlay_get_property;
@ -349,7 +350,7 @@ gst_qr_overlay_set_caps (GstBaseTransform * trans, GstCaps * in, GstCaps * out)
return TRUE; return TRUE;
} }
gchar * static gchar *
parse_data_array (GstQROverlay * filter, gchar * value_in_array) parse_data_array (GstQROverlay * filter, gchar * value_in_array)
{ {
guint value_size; guint value_size;
@ -384,7 +385,7 @@ parse_data_array (GstQROverlay * filter, gchar * value_in_array)
return value_in_array; return value_in_array;
} }
gchar * static gchar *
build_string (GstBaseTransform * base, GstBuffer * outbuf, build_string (GstBaseTransform * base, GstBuffer * outbuf,
gchar * encode_string) gchar * encode_string)
{ {
@ -474,7 +475,7 @@ build_string (GstBaseTransform * base, GstBuffer * outbuf,
return encode_string; return encode_string;
} }
void static void
overlay_qr_in_frame (GstQROverlay * filter, QRcode * qrcode, GstBuffer * outbuf) overlay_qr_in_frame (GstQROverlay * filter, QRcode * qrcode, GstBuffer * outbuf)
{ {
GstMapInfo current_info; GstMapInfo current_info;