media: add lock around message handler
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 13 Nov 2012 10:49:08 +0000 (11:49 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 13 Nov 2012 10:49:08 +0000 (11:49 +0100)
commit47127bd2703ede9a1fc43dc59e25e218bb7000da
tree5ef44dcc1120ef521f66ba7d7c42565e25337926
parent9a97de88ea9b9ca1613b57db2933cfbbd988a547
media: add lock around message handler

We don't want to dispatch messages while we are still processing the result of
the state change.
gst/rtsp-server/rtsp-media.c