Lines Matching refs:basesink
185 set_file_dynamic_options_unlocked (GstCurlBaseSink * basesink) in set_file_dynamic_options_unlocked() argument
187 gchar *tmp = g_strdup_printf ("%s%s", basesink->url, basesink->file_name); in set_file_dynamic_options_unlocked()
190 res = curl_easy_setopt (basesink->curl, CURLOPT_URL, tmp); in set_file_dynamic_options_unlocked()
193 basesink->error = g_strdup_printf ("failed to set URL: %s", in set_file_dynamic_options_unlocked()
202 set_file_options_unlocked (GstCurlBaseSink * basesink) in set_file_options_unlocked() argument
206 res = curl_easy_setopt (basesink->curl, CURLOPT_UPLOAD, 1L); in set_file_options_unlocked()
208 basesink->error = g_strdup_printf ("failed to prepare for upload: %s", in set_file_options_unlocked()
217 gst_curl_file_sink_prepare_transfer (GstCurlBaseSink * basesink) in gst_curl_file_sink_prepare_transfer() argument
219 GstCurlFileSink *sink = GST_CURL_FILE_SINK (basesink); in gst_curl_file_sink_prepare_transfer()
225 gchar *url = g_strdup_printf ("%s%s", basesink->url, basesink->file_name); in gst_curl_file_sink_prepare_transfer()
228 basesink->error = g_strdup_printf ("failed to parse file name '%s'", url); in gst_curl_file_sink_prepare_transfer()
239 basesink->error = g_strdup_printf ("failed to create directory '%s'", in gst_curl_file_sink_prepare_transfer()