rtsp-stream: Update comment and ASCII art to the latest code
authorSebastian Dröge <sebastian@centricular.com>
Mon, 23 Mar 2015 19:59:52 +0000 (20:59 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 23 Mar 2015 19:59:52 +0000 (20:59 +0100)
We have a queue in front of the udpsink too to prevent the pipeline from
locking up.

gst/rtsp-server/rtsp-stream.c

index abba72b..948be85 100644 (file)
@@ -2076,14 +2076,14 @@ gst_rtsp_stream_join_bin (GstRTSPStream * stream, GstBin * bin,
     GstPad *teepad, *queuepad;
     /* For the sender we create this bit of pipeline for both
      * RTP and RTCP. Sync and preroll are enabled on udpsink so
-     * we need to add a queue before appsink to make the pipeline
-     * not block. For the TCP case, we want to pump data to the
-     * client as fast as possible anyway.
+     * we need to add a queue before appsink and udpsink to make
+     * the pipeline not block. For the TCP case, we want to pump
+     * data to the client as fast as possible.
      *
-     * .--------.      .-----.    .---------.
-     * | rtpbin |      | tee |    | udpsink |
-     * |       send->sink   src->sink       |
-     * '--------'      |     |    '---------'
+     * .--------.      .-----.    .---------.    .---------.
+     * | rtpbin |      | tee |    |  queue  |    | udpsink |
+     * |       send->sink   src->sink      src->sink       |
+     * '--------'      |     |    '---------'    '---------'
      *                 |     |    .---------.    .---------.
      *                 |     |    |  queue  |    | appsink |
      *                 |    src->sink      src->sink       |