[Bug 750387] New: rtspsrc: No way for app to send TEARDOWN msg when closing.
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Jun 4 02:57:16 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=750387
Bug ID: 750387
Summary: rtspsrc: No way for app to send TEARDOWN msg when
closing.
Classification: Platform
Product: GStreamer
Version: git master
OS: All
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-good
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: zzoon.ko at samsung.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
CMD_CLOSE is never being handled in the rtspsrc_thread.
1.
case GST_STATE_CHANGE_PAUSED_TO_READY:
gst_rtspsrc_loop_send_cmd (rtspsrc, CMD_CLOSE, CMD_PAUSE);
This code can't interrupt thread, which is listening with CMD_LOOP.
2.Even though #1 could interrupt by a little bit of modification:
When gst_rtspsrc_loop is paused by interrupt, it always calls
gst_rtspsrc_loop_send_cmd (src, CMD_WAIT, CMD_LOOP), which means that CMD_CLOSE
is always swallowed.
IMHO, it needs to be fixed.
Actually, I'm working on this, but I want to hear some advice for this issue,
if this is real problem or not.
--
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