basertp: use caps event instead of setcaps function
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 2 Jun 2011 17:21:24 +0000 (19:21 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 2 Jun 2011 17:21:24 +0000 (19:21 +0200)
commit81ebc0a82eeb87b71f5102ac34b99ae8b4fdcd60
treea524cf3fae5559754e745215dee4d9910e639c5c
parente6f8f7f3106fd6589a3d789b768b82e7d8f48e56
basertp: use caps event instead of setcaps function

Use the caps event instead of the setcaps function to configure caps.
Use a default event handler for the base rtp payloader instead of the awkward
way of handling the return value.
gst-libs/gst/rtp/gstbasertpaudiopayload.c
gst-libs/gst/rtp/gstbasertpdepayload.c
gst-libs/gst/rtp/gstbasertppayload.c
gst-libs/gst/rtp/gstbasertppayload.h