the error went awaychanges in method:
gst_overwritef_query:from:
GstBaseSinkClass *gstbasesink_class = GST_BASE_SINK_CLASS (bsink);
gstbasesink_class->query (bsink,query);
res = gstbasesink_class->query;
to: res = GST_BASE_SINK_CLASS (parent_class)->query (bsink, query);
gst_overwritef_event:from:
GstBaseSinkClass *gstbasesink_class = GST_BASE_SINK_CLASS (sink);
return gstbasesink_class->event(sink,event);
to: return GST_BASE_SINK_CLASS (parent_class)->event (sink, event);
gst_overwrite_dispose:from:
GObjectClass *gobject_class = G_OBJECT_CLASS (object);
gobject_class->dispose(object);
to: G_OBJECT_CLASS (parent_class)->dispose (object);
------------------------------
Gstreamer 1.16.2
------------------------------
Windows