mount-points: bail out of loop again when matching mount points
authorTim-Philipp Müller <tim@centricular.com>
Thu, 25 Jan 2018 12:09:03 +0000 (12:09 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 25 Jan 2018 12:14:33 +0000 (12:14 +0000)
commit5964247829b8b6011b535be0dcfafc572467b809
treeb444c268dbf4863154f1c55fd35594010c2db512
parentf5b99d8fcebe9ec00a2c9c9f550d25caa253bac1
mount-points: bail out of loop again when matching mount points

Previous patch led to us iterating the entire sequence. Bail out
of the loop again if we have a match but are moving away from it.

https://bugzilla.gnome.org/show_bug.cgi?id=771555
gst/rtsp-server/rtsp-mount-points.c