rtspclientsink: fix retrieval of custom payloader caps
authorMathieu Duponchelle <mathieu@centricular.com>
Mon, 26 Feb 2018 21:59:17 +0000 (22:59 +0100)
committerMathieu Duponchelle <mathieu@centricular.com>
Mon, 26 Feb 2018 21:59:17 +0000 (22:59 +0100)
commitba9395c158093ee736a2faedd7e2689fc36bf44a
treece816ad3d9442a18e55a88d79fe055d06bd13dd3
parent7f6367cc63937f80b45c6060f8b1f64e40d97fd3
rtspclientsink: fix retrieval of custom payloader caps

If a bin is passed as the custom payloader, the caps of
its factory will be empty, the correct way to obtain the caps
is to query its sinkpad.
gst/rtsp-sink/gstrtspclientsink.c