[Bug 680155] New: silence warning when Transports end with semicolumn

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jul 18 04:25:45 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=680155
  GStreamer | gst-plugins-base | git

           Summary: silence warning when Transports end with semicolumn
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: marc.leeman at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


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

check strlen of transport field before warning

Some encoders end their Transports field with a semicolumn. This triggers a
warning about a non-existing field.

Check the length of the tranport option before dropping a warning.

RTSP response message 0x7fbe92918960
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '3'
   key: 'Server', value: 'VisioWave/1.0'
   key: 'Transport', value:
'RTP/AVP/UDP;multicast;destination=239.1.68.193;port=2500-2501;server_port=1028-1029;'
   key: 'Cache-Control', value: 'no-cache'
   key: 'Session', value: '12c056bc277a1567b76ca;timeout=60'
 body: length 0

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