summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatricia Muscalu <patricia@axis.com>2017-10-20 12:21:48 +0200
committerSebastian Dröge <sebastian@centricular.com>2017-11-15 17:46:00 +0200
commitc9605cc5e1c36a2839df389d5fa002aaef43f786 (patch)
tree1db3cad025b17d1cfd8e277829f4be00a80f21fa
parentb5c3ef8d53e0768ee4677887bb4808ef1f169ca0 (diff)
stream: set async=sync=false only for RTCP appsink
Change-Id: I929a218a9adf4759f61322b6f2063aacc5595f90 https://bugzilla.gnome.org/show_bug.cgi?id=788340
-rw-r--r--gst/rtsp-server/rtsp-stream.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/rtsp-server/rtsp-stream.c b/gst/rtsp-server/rtsp-stream.c
index 25ff9c9..2551895 100644
--- a/gst/rtsp-server/rtsp-stream.c
+++ b/gst/rtsp-server/rtsp-stream.c
@@ -2463,7 +2463,8 @@ create_sender_part (GstRTSPStream * stream, GstBin * bin, GstState state)
&priv->mcast_udpqueue[i]);
if (is_tcp) {
- g_object_set (priv->appsink[i], "async", FALSE, "sync", FALSE, NULL);
+ if (i == 1)
+ g_object_set (priv->appsink[i], "async", FALSE, "sync", FALSE, NULL);
plug_sink (bin, priv->tee[i], priv->appsink[i], &priv->appqueue[i]);
}
} else if (is_tcp) {