summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-03-16 23:35:09 +0200
committerSebastian Dröge <sebastian@centricular.com>2016-03-16 23:36:30 +0200
commit8e72e69eecaf388ff9efe4b136c3d749a18e96d3 (patch)
treea1cf7cc13e12d40469025fc8f9e97c702dc0235a /gst
parentad7fcf7a2f1681a0c298640f91822ec3696d7d62 (diff)
rtsp-stream: Don't set the state of the appsrc from PLAYING to PAUSED again during setup
This would get us NO_PREROLL in the bin again and break seeking. Thanks to Carlos Rafael Giani for helping to debug this! https://bugzilla.gnome.org/show_bug.cgi?id=740509
Diffstat (limited to 'gst')
-rw-r--r--gst/rtsp-server/rtsp-stream.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gst/rtsp-server/rtsp-stream.c b/gst/rtsp-server/rtsp-stream.c
index 9fffeec..faa76fe 100644
--- a/gst/rtsp-server/rtsp-stream.c
+++ b/gst/rtsp-server/rtsp-stream.c
@@ -2533,8 +2533,6 @@ create_receiver_part (GstRTSPStream * stream, GstBin * bin, GstState state)
if (state != GST_STATE_NULL) {
if (priv->funnel[i] && (priv->sinkpad || i == 1))
gst_element_set_state (priv->funnel[i], state);
- if (priv->appsrc[i] && (priv->sinkpad || i == 1))
- gst_element_set_state (priv->appsrc[i], state);
}
}
}