docs: add media factory transport mode accessors
authorMathieu Duponchelle <mathieu@centricular.com>
Thu, 26 Oct 2017 12:43:19 +0000 (14:43 +0200)
committerMathieu Duponchelle <mathieu@centricular.com>
Thu, 26 Oct 2017 12:44:55 +0000 (14:44 +0200)
and fix the documentation for the return value of the getter

docs/libs/gst-rtsp-server-sections.txt
gst/rtsp-server/rtsp-media-factory.c

index 38e2d03..f57bc58 100644 (file)
@@ -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
 
index fd99298..f610a24 100644 (file)
@@ -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)