summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2017-10-26 14:43:19 +0200
committerMathieu Duponchelle <mathieu@centricular.com>2017-10-26 14:44:55 +0200
commit89ccaa6932076e634481affef587f2756c577fa8 (patch)
tree15cd8df16a290f761442f2c019504cfa92f3c93f
parent619ac7b710e6fc7b83cb995d70433a65d7714101 (diff)
docs: add media factory transport mode accessors
and fix the documentation for the return value of the getter
-rw-r--r--docs/libs/gst-rtsp-server-sections.txt3
-rw-r--r--gst/rtsp-server/rtsp-media-factory.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/docs/libs/gst-rtsp-server-sections.txt b/docs/libs/gst-rtsp-server-sections.txt
index 38e2d03..f57bc58 100644
--- a/docs/libs/gst-rtsp-server-sections.txt
+++ b/docs/libs/gst-rtsp-server-sections.txt
@@ -256,6 +256,9 @@ gst_rtsp_media_factory_set_eos_shutdown
gst_rtsp_media_factory_get_protocols
gst_rtsp_media_factory_set_protocols
+gst_rtsp_media_factory_get_transport_mode
+gst_rtsp_media_factory_set_transport_mode
+
gst_rtsp_media_factory_set_profiles
gst_rtsp_media_factory_get_profiles
diff --git a/gst/rtsp-server/rtsp-media-factory.c b/gst/rtsp-server/rtsp-media-factory.c
index fd99298..f610a24 100644
--- a/gst/rtsp-server/rtsp-media-factory.c
+++ b/gst/rtsp-server/rtsp-media-factory.c
@@ -1644,7 +1644,7 @@ gst_rtsp_media_factory_set_transport_mode (GstRTSPMediaFactory * factory,
* Get if media created from this factory can be used for PLAY or RECORD
* methods.
*
- * Returns: The supported transport modes.
+ * Returns: The transport mode.
*/
GstRTSPTransportMode
gst_rtsp_media_factory_get_transport_mode (GstRTSPMediaFactory * factory)