[Bug 729099] rtmpsrc: Crash due to unsafe thread handling in librtmp when setting state from PLAYING->PAUSED

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon May 1 15:34:46 UTC 2017


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

--- Comment #10 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
Review of attachment 350802:
 --> (https://bugzilla.gnome.org/review?bug=729099&attachment=350802)

::: ext/rtmp/gstrtmpsrc.c
@@ +351,2 @@
   while (todo > 0) {
     int read = RTMP_Read (src->rtmp, (char *) data, todo);

If this read is blocking, it means that src_unlock() will never be able to make
it unblock if the server stops receiving. We end up turn a problem into
another.

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