rtsp-client: Session filter in unwatch session
authorGöran Jönsson <goranjn@axis.com>
Mon, 26 Sep 2016 09:16:04 +0000 (11:16 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 25 Oct 2016 09:55:59 +0000 (12:55 +0300)
commitdbf91ab231ad793646c6de540f105b4b24db9f25
tree5834ca3e5ef438f9e13d5d0b8ee41dfcd43e0051
parent34ed1d0bea92691a9aa06d9973a26534fb539cd7
rtsp-client: Session filter in unwatch session

Call session filter with filter_session_media as paramer in
client_unwatch_session if using drop_backlog = FALSE.

In client_unwatch_session its allowed to grow the watchs backlog.
If using drop_backlog = FALSE and the backlog is full it will cause
a deadlock when setting session media state to NULL
if the backlog is not allowed to grow.

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