rtsp-media: use element metadata to find payloader
authorWim Taymans <wtaymans@redhat.com>
Fri, 22 Nov 2013 10:16:20 +0000 (11:16 +0100)
committerWim Taymans <wtaymans@redhat.com>
Fri, 22 Nov 2013 10:19:35 +0000 (11:19 +0100)
commit7b5763179a161475d176d25b39e9a51fd1eecc19
treed0358f24f26ce33c9d38bf0d8e9031bdda379378
parente5332535a738d90f234710b822cfe9a8bbbb23cf
rtsp-media: use element metadata to find payloader

Use the element metadata to find the payloader instead of checking
for the base class.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=712396
gst/rtsp-server/rtsp-media.c