mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
media: no need to unlock, unprepare does that when needed
This commit is contained in:
parent
348b7f9c21
commit
84b7cf1590
1 changed files with 0 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue