[Bug 755732] rtmpsrc: Slow teardown of connection when pipeline is interrupted
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Sep 28 06:14:08 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=755732
--- Comment #1 from John Slade <john at jtes.net> ---
Created attachment 312302
--> https://bugzilla.gnome.org/attachment.cgi?id=312302&action=edit
Patch to use GstPoll on sockets
I have created a patch (0002-rtmpsrc-Poll-changes-on-RTMP-socket.patch) for
this which uses GstPoll so that we don't block the plugin inside librtmp.
Using GstPoll means we can block inside gst_rtmp_src_create() which gives us
control to unblock quickly when unlocking the plugin.
I think this might also help with
https://bugzilla.gnome.org/show_bug.cgi?id=729099 and unsafe multi-threading of
librtmp.
Note there is an existing indentation problem on line 437 of gstrtmpsrc.c that
gst-indent fixes. I've got this in a separate patch
(0001-rtmpsrc-Fix-indentation-with-gst-indent.patch).
--
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