[Bug 758160] splitmuxsink with mpegtsmux, curlftpsink generates only the first fragment and pipeline exits with a timeout error.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Dec 17 07:16:47 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=758160

--- Comment #11 from Vinod Kesti <vinodkesti at yahoo.com> ---
Created attachment 342107
  --> https://bugzilla.gnome.org/attachment.cgi?id=342107&action=edit
curl: curlftpsink throws poll timed out when used with splitmuxsink

All,

Sorry previously I updated wrong patch,

I also faced same issue. I found GstPoll is not used properly.
curlbasesink opens GstPoll for curlfd on start and closes on stop. When
curlftpsink and curlhttpsink
are used with splitmuxsink, start and stop  functions are called for every
fragment generated. Upon every fragment
curlbasesink creates new GstPoll, but curl generates FD only once. For second
fragment onwards gst_poll_wait waits on FD -1
and times out as no action happening on FD -1. Now GstPoll created once and
reused.

I have created patch on today git master.
With this patch it is working for me.

Regards,
Vinod

-- 
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