[Bug 697686] New: rtsp-client: send out teardown signal before tearing down

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Apr 9 23:16:58 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=697686
  GStreamer | gst-rtsp-server | git

           Summary: rtsp-client: send out teardown signal before tearing
                    down
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gst-rtsp-server
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: davidsf at axis.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=241115)
 View: https://bugzilla.gnome.org/attachment.cgi?id=241115
 Review: https://bugzilla.gnome.org/review?bug=697686&attachment=241115

Send out teardown signal before tearing down

The attached patch contains a suggested change in rtsp-client.c: to emit the
"teardown-request" signal *before* tearing down the streams, instead of after.
The advantage is that in the signal handler you get direct access to
information about what streams are about to get torn down (in the
GstRTSPClientState).

The feature I'm working on is to log setups and teardowns for each stream.
Without this patch, I have to save information about the streams separately, so
it is available when it is time to log teardowns.

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