After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 680155 - silence warning when Transports end with semicolumn
silence warning when Transports end with semicolumn
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal enhancement
: 0.11.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-07-18 11:25 UTC by Marc Leeman
Modified: 2012-07-24 10:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
check strlen of transport field before warning (945 bytes, patch)
2012-07-18 11:25 UTC, Marc Leeman
none Details | Review

Description Marc Leeman 2012-07-18 11:25:42 UTC
Created attachment 219090 [details] [review]
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
Comment 1 Wim Taymans 2012-07-24 10:49:51 UTC
commit 791163aba2e1657d11529f83b0159df4f9ca2cca
Author: Marc Leeman <marc.leeman@gmail.com>
Date:   Wed Jul 18 13:19:26 2012 +0200

    gst-rtsptransports: no warning Transport end with semicolumn