[Bug 729632] rtspconnection craching sometimes when addinging a ŕead source
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue May 6 05:25:29 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=729632
GStreamer | gst-plugins-base | unspecified
--- Comment #1 from Göran Jönsson <goran.jonsson at axis.com> 2014-05-06 12:25:25 UTC ---
This happens in gst_rtsp_source_dispatch_write.
do {
if (watch->write_data == NULL) {
GstRTSPRec *rec;
/* get a new message from the queue */
rec = g_queue_pop_tail (watch->messages);
if (rec == NULL) {
if (watch->writesrc) {
g_source_remove_child_source ((GSource *) watch, watch->writesrc);
g_source_unref (watch->writesrc);
watch->writesrc = NULL;
/* we create and add the write source again when we actually have
* something to write */
/* since write source is now removed we add read source on the write
* socket instead to be able to detect when client closes get channel
* in tunneled mode */
if (watch->conn->control_stream) {
==> watch->controlsrc =
g_pollable_input_stream_create_source (G_POLLABLE_INPUT_STREAM
(watch->conn->control_stream), NULL);
--
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