rtsp-client: Only allow to set either a send_func or send_messages_func but not both
authorSebastian Dröge <sebastian@centricular.com>
Fri, 25 Jan 2019 12:22:42 +0000 (14:22 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 30 Jan 2019 12:40:09 +0000 (14:40 +0200)
commit4be7424de5f6828427231d3f30f2c745d61e0be7
tree5ec2318c512865f91a01bf150ad75fe5f08f6bb6
parentc372643e1ec8b4970c74456d42ac47622388272d
rtsp-client: Only allow to set either a send_func or send_messages_func but not both

And route all messages through the send_func if no send_messages_func
was provided.

We otherwise break backwards compatibility.
gst/rtsp-server/rtsp-client.c