client: set the watch to flushing before going to NULL
authorWim Taymans <wtaymans@redhat.com>
Tue, 15 Apr 2014 14:51:17 +0000 (16:51 +0200)
committerWim Taymans <wtaymans@redhat.com>
Tue, 15 Apr 2014 14:51:17 +0000 (16:51 +0200)
commite69241ac975704cf99fa1f83cf167facbc913741
tree038defc958fd08f9dc5e0fcf05c094b5b20075c9
parent9219509bcfbc84b6c9d826b60b1d88f1619f016e
client: set the watch to flushing before going to NULL

First set the watch to flushing so that we unblock any current and
future attempt to send data on the watch, Then set the pipeline to
NULL.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=728153
gst/rtsp-server/rtsp-client.c