Lines Matching refs:basesink
143 set_sftp_dynamic_options_unlocked (GstCurlBaseSink * basesink) in set_sftp_dynamic_options_unlocked() argument
145 gchar *tmp = g_strdup_printf ("%s%s", basesink->url, basesink->file_name); in set_sftp_dynamic_options_unlocked()
148 curl_err = curl_easy_setopt (basesink->curl, CURLOPT_URL, tmp); in set_sftp_dynamic_options_unlocked()
151 basesink->error = g_strdup_printf ("failed to set URL: %s", in set_sftp_dynamic_options_unlocked()
160 set_sftp_options_unlocked (GstCurlBaseSink * basesink) in set_sftp_options_unlocked() argument
162 GstCurlSftpSink *sink = GST_CURL_SFTP_SINK (basesink); in set_sftp_options_unlocked()
167 curl_easy_setopt (basesink->curl, CURLOPT_UPLOAD, 1L)) != CURLE_OK) { in set_sftp_options_unlocked()
168 basesink->error = g_strdup_printf ("failed to prepare for upload: %s", in set_sftp_options_unlocked()
174 if ((curl_err = curl_easy_setopt (basesink->curl, in set_sftp_options_unlocked()
176 basesink->error = in set_sftp_options_unlocked()
186 return parent_class->set_options_unlocked (basesink); in set_sftp_options_unlocked()