rtsp-onvif-media-factory: Document that backchannel pipelines must end with async...
authorSebastian Dröge <sebastian@centricular.com>
Wed, 7 Mar 2018 10:20:05 +0000 (12:20 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 7 Mar 2018 10:20:05 +0000 (12:20 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=794143

gst/rtsp-server/rtsp-onvif-media-factory.c

index f242608..7da5670 100644 (file)
@@ -375,6 +375,11 @@ gst_rtsp_onvif_media_factory_init (GstRTSPOnvifMediaFactory * factory)
  * all possible, complete RTP caps that are going to be supported. At least
  * the payload type, clock-rate and encoding-name need to be specified.
  *
+ * Note: The pipeline part passed here must end in sinks that are not waiting
+ * until pre-rolling before reaching the PAUSED state, i.e. setting
+ * async=false on #GstBaseSink. Otherwise the whole media will not be able to
+ * prepare.
+ *
  * Since: 1.14
  */
 void