[Bug 730109] New: media: Make suspend()/unsuspend() virtual

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed May 14 00:40:49 PDT 2014


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

           Summary: media: Make suspend()/unsuspend() virtual
    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=276512)
 View: https://bugzilla.gnome.org/attachment.cgi?id=276512
 Review: https://bugzilla.gnome.org/review?bug=730109&attachment=276512

media: Make suspend()/unsuspend() virtual

This is a patch which makes media_suspend() and media_unsuspend() virtual.
Please advise if this patch is acceptable.

The use case i am trying to solve: Checking for hardware resources plus
enabling and configuring hardware whenever live medias are about to be
prerolled. Reverse operation is done when pipeline is set to state
GST_STATE_NULL.
503 SERVICE_UNAVAILABLE should be returned on failure.
The idea is to enable hardware from media_preroll(already virtual) and
media_unsuspend and disable it from media_unpreroll(already virtual) and
media_suspend.

Currently i am doing this from the media::target_state signal handler but it is
not perfect since i am not able to return error.

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