[Bug 741553] curlsmtpsink: final boundary only added to last mail

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Dec 15 07:39:45 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=741553
  GStreamer | gst-plugins-bad | unspecified

--- Comment #1 from Branko Subasic <branko.subasic at axis.com> 2014-12-15 15:39:39 UTC ---
Created an attachment (id=292755)
 View: https://bugzilla.gnome.org/attachment.cgi?id=292755
 Review: https://bugzilla.gnome.org/review?bug=741553&attachment=292755

Proposed patch that fixes the issue

After each buffer is completed check if we've reached max buffers per email. If
so then add the final boundary. When EOS is received only send final boundary
if it's not already sent (i.e. as a result of max buffers per email reached). 

Also simplified, and corrected, how we keep track of the number of attachments
sent/left.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list