Lines Matching refs:basesink
145 set_sftp_dynamic_options_unlocked (GstCurlBaseSink * basesink) in set_sftp_dynamic_options_unlocked() argument
147 gchar *tmp = g_strdup_printf ("%s%s", basesink->url, basesink->file_name); in set_sftp_dynamic_options_unlocked()
150 curl_err = curl_easy_setopt (basesink->curl, CURLOPT_URL, tmp); in set_sftp_dynamic_options_unlocked()
153 basesink->error = g_strdup_printf ("failed to set URL: %s", in set_sftp_dynamic_options_unlocked()
162 set_sftp_options_unlocked (GstCurlBaseSink * basesink) in set_sftp_options_unlocked() argument
164 GstCurlSftpSink *sink = GST_CURL_SFTP_SINK (basesink); in set_sftp_options_unlocked()
169 curl_easy_setopt (basesink->curl, CURLOPT_UPLOAD, 1L)) != CURLE_OK) { in set_sftp_options_unlocked()
170 basesink->error = g_strdup_printf ("failed to prepare for upload: %s", in set_sftp_options_unlocked()
176 if ((curl_err = curl_easy_setopt (basesink->curl, in set_sftp_options_unlocked()
178 basesink->error = in set_sftp_options_unlocked()
188 return parent_class->set_options_unlocked (basesink); in set_sftp_options_unlocked()