[Bug 708229] New: Add function for checking if an address has already been allocated.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Sep 17 05:13:49 PDT 2013


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

           Summary: Add function for checking if an address has already
                    been allocated.
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-rtsp-server
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: patrick.radizi at axis.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


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

Patch with new function gst_rtsp_address_pool_is_allocated ()

It would be good to have a function for checking if an address has already been
allocated from am address pool. Otherwise if a call to
gst_rtsp_address_pool_reserve_address () returns NULL the caller has no way of
knowing if it returned NULL because the address range was not in the pool to
begin with or if it has already been reserved.

I have made an implementation of such a function,
gst_rtsp_address_pool_is_allocated . See attachement.

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