sdpmessage: fix mapping single char fmtp params
This fixes mapping of single character parameters from SDP
to caps
as discussed here: gst-plugins-rs!626 (comment 1218849)
E.g. for following a=fmtp:110 raptor-scheme-id=1; Kmax=8192; T=128; P=A; repair-window=200000
the caps will miss T
and P
- Before patch:
caps: application/x-rtp, media=(string)application, payload=(int)110, clock-rate=(int)90000, encoding-name=(string)RAPTORFEC, raptor-scheme-id=(string)1, kmax=(string)8192, repair-window=(string)200000
- After patch:
caps: application/x-rtp, media=(string)application, payload=(int)110, clock-rate=(int)90000, encoding-name=(string)RAPTORFEC, raptor-scheme-id=(string)1, kmax=(string)8192, t=(string)128, p=(string)A, repair-window=(string)200000
To reproduce try following launch line (sdp file attatched below):
GST_DEBUG=2,sdpdemux:9 gst-launch-1.0 -v filesrc location=raptorq.sdp ! sdpdemux ! fakesink