L16depay: use encoding-params for the channels
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 5 Jul 2010 08:23:37 +0000 (10:23 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 4 Aug 2010 08:39:44 +0000 (10:39 +0200)
commited80c1834cbf80d26a47a75e7f40f777dd615dda
treea1233a72651572079fce53985457efe6c6a9e29f
parente39d7f7359fe9d292738ff5e3086ad78d02a93ea
L16depay: use encoding-params for the channels

When parsing the number of channels, use the encoding-params property from the
RTP caps because that is where we can find the channels according to the spec.
Fall back to the channels property in the caps when needed.

Fixes #623209
gst/rtp/gstrtpL16depay.c