[Bug 737675] New: media: media_unprepare() is kind of broken

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Sep 30 10:23:09 PDT 2014


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

           Summary: media: media_unprepare() is kind of broken
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-rtsp-server
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: ognyan.tonchev at axis.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


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

media: set state to unpreparing when unprepare is initiated

The 7f40d3d8 commit has broken the unprepare mechanism. Look at that commit and
also at media_unprepare():

gst_rtsp_media_unprepare (GstRTSPMedia * media)
{
...

  gst_rtsp_media_set_status (media, GST_RTSP_MEDIA_STATUS_UNPREPARING);

  if (priv->status == GST_RTSP_MEDIA_STATUS_PREPARED) {
    GstRTSPMediaClass *klass;

...

This condition is never going to be met.

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