webrtc: Fix sctp task's return type.
GstWebRTCBinFunc expects a GstStructure* return type. Fixes segfault on PowerPC. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2188>
This commit is contained in:
parent
08b792d24c
commit
4e29ba9fce
@ -62,11 +62,12 @@ struct task
|
|||||||
GDestroyNotify notify;
|
GDestroyNotify notify;
|
||||||
};
|
};
|
||||||
|
|
||||||
static void
|
static GstStructure *
|
||||||
_execute_task (GstWebRTCBin * webrtc, struct task *task)
|
_execute_task (GstWebRTCBin * webrtc, struct task *task)
|
||||||
{
|
{
|
||||||
if (task->func)
|
if (task->func)
|
||||||
task->func (task->sctp, task->user_data);
|
task->func (task->sctp, task->user_data);
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user