mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 16:18:16 +00:00
discoverer: mark GError argument of "discovered" signal with STATIC_SCOPE
So the error is passed to the callback as is without a copy being made.
This commit is contained in:
parent
4738e02bbf
commit
24749aa2db
1 changed files with 2 additions and 1 deletions
|
@ -235,7 +235,8 @@ gst_discoverer_class_init (GstDiscovererClass * klass)
|
|||
g_signal_new ("discovered", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (GstDiscovererClass, discovered),
|
||||
NULL, NULL, pbutils_marshal_VOID__POINTER_BOXED,
|
||||
G_TYPE_NONE, 2, GST_TYPE_DISCOVERER_INFO, G_TYPE_ERROR);
|
||||
G_TYPE_NONE, 2, GST_TYPE_DISCOVERER_INFO,
|
||||
G_TYPE_ERROR | G_SIGNAL_TYPE_STATIC_SCOPE);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue