mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
qroverlay: Fix some warnings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1730>
This commit is contained in:
parent
c743d5db23
commit
3db26e3f96
1 changed files with 5 additions and 4 deletions
|
@ -135,10 +135,11 @@ gst_qr_overlay_class_init (GstQROverlayClass * klass)
|
|||
{
|
||||
GObjectClass *gobject_class;
|
||||
GstElementClass *gstelement_class;
|
||||
GstBaseTransformClass *trans_class;
|
||||
|
||||
gobject_class = (GObjectClass *) 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->get_property = gst_qr_overlay_get_property;
|
||||
|
@ -349,7 +350,7 @@ gst_qr_overlay_set_caps (GstBaseTransform * trans, GstCaps * in, GstCaps * out)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
gchar *
|
||||
static gchar *
|
||||
parse_data_array (GstQROverlay * filter, gchar * value_in_array)
|
||||
{
|
||||
guint value_size;
|
||||
|
@ -384,7 +385,7 @@ parse_data_array (GstQROverlay * filter, gchar * value_in_array)
|
|||
return value_in_array;
|
||||
}
|
||||
|
||||
gchar *
|
||||
static gchar *
|
||||
build_string (GstBaseTransform * base, GstBuffer * outbuf,
|
||||
gchar * encode_string)
|
||||
{
|
||||
|
@ -474,7 +475,7 @@ build_string (GstBaseTransform * base, GstBuffer * outbuf,
|
|||
return encode_string;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
overlay_qr_in_frame (GstQROverlay * filter, QRcode * qrcode, GstBuffer * outbuf)
|
||||
{
|
||||
GstMapInfo current_info;
|
||||
|
|
Loading…
Reference in a new issue