rtpjpegpay/depay: Replace framesize caps with width/height
authorSebastian Rasmussen <sebrn@axis.com>
Tue, 21 May 2013 23:58:57 +0000 (01:58 +0200)
committerSebastian Dröge <slomo@circular-chaos.org>
Thu, 23 May 2013 19:05:43 +0000 (21:05 +0200)
commit0075d111b475ca27895ee9476154260b6902940b
tree43544ba2d5f2ebc1ae2b01c333a612b6c62bcaf2
parentd8825e2a5c0bfb883ff88e2c9da499c800ebca0a
rtpjpegpay/depay: Replace framesize caps with width/height

The previous implementation had the formatting of SDP attributes happen
in each RTP payloader, now instead the constituent values are propagated
as caps fields. This allows for applications to do SDP offer/answer
based on caps negotiation.

Keep parsing a-framerate, x-framerate and x-dimensions in rtpjpegdepay
to be backwards compatible with previous payloaders.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=700748
gst/rtp/gstrtpjpegdepay.c
gst/rtp/gstrtpjpegpay.c