rtspsrc: manage element state ourselves
authorWim Taymans <wim.taymans@collabora.co.uk>
Sun, 16 Jun 2013 03:40:13 +0000 (05:40 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Sun, 16 Jun 2013 03:40:13 +0000 (05:40 +0200)
commitd9bc48edc977f86b39aabe9e1f125603c82bec6a
tree2e727f5b2d65ddb9417b6b9ebfc9a732a87aa015
parente89a48616bbd030e520d4f22a2a919b3d3dba355
rtspsrc: manage element state ourselves

Lock the state of the all our elements and manage their states
outselves. Because we are working async, we can't rely on the state
change function to set the state at the right time or to return the
right return value from the state change function.

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