[gstreamer-bugs] [Bug 471067] New: Make the SDP code useable for generating SDP descriptions

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Aug 28 03:24:04 PDT 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=471067

  GStreamer | gst-plugins-base | Ver: HEAD CVS
           Summary: Make the SDP code useable for generating SDP
                    descriptions
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: pkj at axis.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Please describe the problem:
The attached patch makes a number of changes to the SDP code to make it
possible to use it to generate SDP descriptions. More specifically:

* Separate INIT_ARRAY() and related macros into two versions, one for
structures and one for pointers (e.g., INIT_ARRAY() and INIT_PTR_ARRAY()). This
fixes a segmentation error on freeing the lists of emails and phone numbers.
* Add missing const as appropriate.
* Change all gint to guint since they all actually represent unsigned values.
* Do not use time as a variable name as it shadows the global time().
* Add gst_sdp_message_as_text() and gst_sdp_media_as_text().
* Actually implement gst_sdp_message_add_time().
* Make gst_sdp_message_add_time() take repeat times as an argument.
* Store repeat times in GstSDPTime as a GArray rather than as gchar**.
* Corrected the definition of gst_sdp_media_get_bandwidth() (was misspelled as
badwidth).
* gst-indented and a little clean up.


Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=471067.




More information about the Gstreamer-bugs mailing list