rtsptransport: add method to get media-type from transport
authorWim Taymans <wtaymans@redhat.com>
Tue, 7 Jan 2014 13:31:09 +0000 (14:31 +0100)
committerWim Taymans <wtaymans@redhat.com>
Tue, 7 Jan 2014 13:51:37 +0000 (14:51 +0100)
commit124cf22d5d2ddc5b3c5d1a3e5495e12c193fa9a9
treeb96bb8e28583fbac1f73f6ef153c8bf7fa830e72
parent5b13c5b464cad4dc2954b0dff7cba988363417ad
rtsptransport: add method to get media-type from transport

Add a method to make a media-type from the transport. Deprecate the old
method that only used the mode.

Based on patch from Aleix Conchillo FlaquĆ© <aleix@oblong.com>

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=720219
gst-libs/gst/rtsp/gstrtsptransport.c
gst-libs/gst/rtsp/gstrtsptransport.h