webrtcbin: Fix typoe in name of error GstStructure

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2104>
This commit is contained in:
Olivier Crête 2021-03-30 18:01:56 -04:00
parent 2bd647e999
commit 7db5848376

View file

@ -5180,7 +5180,7 @@ out:
if (error) {
GST_WARNING_OBJECT (webrtc, "returning error: %s", error->message);
gst_promise_reply (sd->promise,
gst_structure_new ("application/x-getwebrtcbin-error", "error",
gst_structure_new ("application/x-gstwebrtcbin-error", "error",
G_TYPE_ERROR, error, NULL));
g_clear_error (&error);
} else {