diff --git a/subprojects/gst-plugins-bad/ext/srt/gstsrtobject.c b/subprojects/gst-plugins-bad/ext/srt/gstsrtobject.c index cf6b20d86c..6c3ed6f7b7 100644 --- a/subprojects/gst-plugins-bad/ext/srt/gstsrtobject.c +++ b/subprojects/gst-plugins-bad/ext/srt/gstsrtobject.c @@ -1846,7 +1846,7 @@ gst_srt_object_write_one (GstSRTObject * srtobject, GstBufferList * headers, retry: if (!srtobject->sent_headers) { if (!gst_srt_object_send_headers (srtobject, srtobject->sock, - srtobject->poll_id, poll_timeout, headers, error)) { + srtobject->poll_id, poll_timeout, headers, &internal_error)) { goto err; }