rtsp-media: Only unblock the media in suspend() when actually changing the state
authorSebastian Dröge <sebastian@centricular.com>
Tue, 5 May 2015 14:46:19 +0000 (16:46 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 5 May 2015 14:46:19 +0000 (16:46 +0200)
commitbbdf0a47d18338459fa66ffa9aa8ab54ed527580
treecfa6e51fe93824abe6aea99d701e4c452aa7493c
parente4264381a5298c4f7d47fad1f1efd680c49b052e
rtsp-media: Only unblock the media in suspend() when actually changing the state

Otherwise we're going to lose a few packets for live streams during DESCRIBE.
gst/rtsp-server/rtsp-media.c