diff options
author | Sebastian Rasmussen <sebrn@axis.com> | 2012-10-24 11:34:32 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2012-10-24 11:29:47 +0100 |
commit | 1c71fd351ab039a18c4eb5eea54dc4769f1445a9 (patch) | |
tree | ea4bf610930ff083a9865c26fed3d9b39c273a87 /ext/curl | |
parent | 1d710ad13aa4e7a8bd8f4c11803848432ef6573b (diff) | |
download | gstreamer-plugins-bad-1c71fd351ab039a18c4eb5eea54dc4769f1445a9.tar.gz |
curlsmtpsink: add comment describing function
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=686774
Diffstat (limited to 'ext/curl')
-rw-r--r-- | ext/curl/gstcurlsmtpsink.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/curl/gstcurlsmtpsink.c b/ext/curl/gstcurlsmtpsink.c index b58e65c0e..6575bcdcf 100644 --- a/ext/curl/gstcurlsmtpsink.c +++ b/ext/curl/gstcurlsmtpsink.c @@ -580,6 +580,12 @@ generate_encoded_word (gchar * str) return encoded_word; } +/* Setup header fields (From:/To:/Date: etc) and message body for the e-mail. + * This data is supposed to be sent to libcurl just before any media data. + * This function is called once for each e-mail: + * 1. we are about the send the first attachment + * 2. we have sent all the attachments and continue sending new ones within + * a new e-mail (transfer options have been reset). */ static gboolean gst_curl_smtp_sink_set_transfer_options_unlocked (GstCurlBaseSink * bcsink) { |