From ab9ce0500ad9261fd9fc38a00832adf307c488b1 Mon Sep 17 00:00:00 2001 From: Robert Rosengren Date: Wed, 24 Aug 2022 08:22:49 +0200 Subject: [PATCH] curlbasesink: gst_curl_base_sink_transfer_thread_close is internal gst_curl_base_sink_transfer_thread_close is moved from external header to be static function, as it has no users. Part-of: --- subprojects/gst-plugins-bad/ext/curl/gstcurlbasesink.c | 3 ++- subprojects/gst-plugins-bad/ext/curl/gstcurlbasesink.h | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-bad/ext/curl/gstcurlbasesink.c b/subprojects/gst-plugins-bad/ext/curl/gstcurlbasesink.c index 9d232e846d..35f55a1df5 100644 --- a/subprojects/gst-plugins-bad/ext/curl/gstcurlbasesink.c +++ b/subprojects/gst-plugins-bad/ext/curl/gstcurlbasesink.c @@ -144,6 +144,7 @@ static void gst_curl_base_sink_wait_for_transfer_thread_to_send_unlocked static void gst_curl_base_sink_data_sent_notify (GstCurlBaseSink * sink); static void gst_curl_base_sink_wait_for_response (GstCurlBaseSink * sink); static void gst_curl_base_sink_got_response_notify (GstCurlBaseSink * sink); +static void gst_curl_base_sink_transfer_thread_close (GstCurlBaseSink * sink); static void handle_transfer (GstCurlBaseSink * sink); static size_t transfer_data_buffer (void *curl_ptr, TransferBuffer * buf, @@ -295,7 +296,7 @@ gst_curl_base_sink_transfer_thread_notify_unlocked (GstCurlBaseSink * sink) g_cond_signal (&sink->transfer_cond->cond); } -void +static void gst_curl_base_sink_transfer_thread_close (GstCurlBaseSink * sink) { GST_OBJECT_LOCK (sink); diff --git a/subprojects/gst-plugins-bad/ext/curl/gstcurlbasesink.h b/subprojects/gst-plugins-bad/ext/curl/gstcurlbasesink.h index afa6d5bad4..482fa2bf4f 100644 --- a/subprojects/gst-plugins-bad/ext/curl/gstcurlbasesink.h +++ b/subprojects/gst-plugins-bad/ext/curl/gstcurlbasesink.h @@ -111,7 +111,6 @@ GType gst_curl_base_sink_get_type (void); void gst_curl_base_sink_transfer_thread_notify_unlocked (GstCurlBaseSink * sink); -void gst_curl_base_sink_transfer_thread_close (GstCurlBaseSink * sink); void gst_curl_base_sink_set_live (GstCurlBaseSink * sink, gboolean live); gboolean gst_curl_base_sink_is_live (GstCurlBaseSink * sink);