rtspsrc: flush connection when stopping
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 6 Feb 2013 12:18:18 +0000 (13:18 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 6 Feb 2013 12:18:18 +0000 (13:18 +0100)
commitc8fb1c720cd429970865f27633dd682bed3c5815
treea3b1d57f0987df2371ed89f90324ad636344cc35
parent96f8775a0dff3b7700b9e8328de23b81f947ed0c
rtspsrc: flush connection when stopping

When we stop, we can flush all pending commands so that we can stop and
join the task.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=684924
gst/rtsp/gstrtspsrc.c