projects
/
platform
/
upstream
/
gst-rtsp-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
348b7f9
)
media: no need to unlock, unprepare does that when needed
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 26 Oct 2012 13:19:23 +0000
(15:19 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 26 Oct 2012 13:19:23 +0000
(15:19 +0200)
gst/rtsp-server/rtsp-media.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-media.c
b/gst/rtsp-server/rtsp-media.c
index
65c470c
..
bce78d5
100644
(file)
--- a/
gst/rtsp-server/rtsp-media.c
+++ b/
gst/rtsp-server/rtsp-media.c
@@
-1376,9
+1376,6
@@
gst_rtsp_media_set_state (GstRTSPMedia * media, GstState state,
switch (state) {
case GST_STATE_NULL:
- /* unlock the streams so that they follow the state changes from now on */
- unlock_streams (media);
- /* fallthrough */
case GST_STATE_PAUSED:
/* we're going from PLAYING to PAUSED, READY or NULL, remove */
if (media->target_state == GST_STATE_PLAYING)