rtsp-media: remove transports if media is in error status
authorAleix Conchillo Flaque <aleix@oblong.com>
Wed, 20 Nov 2013 23:51:54 +0000 (15:51 -0800)
committerWim Taymans <wtaymans@redhat.com>
Fri, 22 Nov 2013 10:25:15 +0000 (11:25 +0100)
commitb6d4a29d75b5a7bc8debe796b4092e55664b638b
tree1e21a4d43d6af195d9cfcd6fff39cfb2c2c23357
parent7b5763179a161475d176d25b39e9a51fd1eecc19
rtsp-media: remove transports if media is in error status

* gst/rtsp-server/rtsp-media.c (gst_rtsp_media_set_state): if we are
  trying to change to GST_STATE_NULL and media is in error status, we
  remove all transports.

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