webrtc: fix log error message in function gst_webrtc_bin_set_local_description

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1511>
This commit is contained in:
Dave Piché 2022-01-11 13:21:55 -05:00 committed by GStreamer Marge Bot
parent cab0eaed1c
commit 574cbbf0b5

View file

@ -5927,7 +5927,7 @@ gst_webrtc_bin_set_local_description (GstWebRTCBin * webrtc,
(GDestroyNotify) _free_set_description_data, promise)) {
GError *error =
g_error_new (GST_WEBRTC_BIN_ERROR, GST_WEBRTC_BIN_ERROR_CLOSED,
"Could not set remote description. webrtcbin is closed");
"Could not set local description. webrtcbin is closed");
GstStructure *s = gst_structure_new ("application/x-gst-promise",
"error", G_TYPE_ERROR, error, NULL);