After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 730368 - Add a read source on write socket when tunnel lost.
Add a read source on write socket when tunnel lost.
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
unspecified
Other Linux
: Normal normal
: 1.3.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-05-19 11:41 UTC by Göran Jönsson
Modified: 2014-05-20 10:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gst-plugins-base patch (1.58 KB, patch)
2014-05-19 11:41 UTC, Göran Jönsson
committed Details | Review

Description Göran Jönsson 2014-05-19 11:41:25 UTC
Created attachment 276763 [details] [review]
gst-plugins-base patch

It is not possible to detect close when tunneling and lost tunnel and the watch backlog is not empty.

Similar solution is implemented in gst_rtsp_source_dispatch_write but only when backlog is empty.
Comment 1 Wim Taymans 2014-05-20 10:05:08 UTC
commit d8a1dc5ea83ebfa6ea8a8deadc6832d668bf6644
Author: Göran Jönsson <goranjn@axis.com>
Date:   Mon May 19 13:28:52 2014 +0200

    rtspconnection: Add read source on write socket.
    
    Add a read source on write socket when lost tunnel.
    To be able to detect when clint closes get channel.
    
    This is already done in gst_rtsp_source_dispatch_write but
    only when the queue is empty.
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=730368