stream: release lock while pushing out packets
authorWim Taymans <wtaymans@redhat.com>
Thu, 13 Mar 2014 13:20:17 +0000 (14:20 +0100)
committerWim Taymans <wtaymans@redhat.com>
Thu, 13 Mar 2014 13:20:17 +0000 (14:20 +0100)
commit50ca10e7513326d591fa88d87ac42f2bc381c762
treee8e096a4552606e0aff892e9a67df0372a6eeb54
parentfaf0b31cbbdeba09217027fb9133946a3a72cf05
stream: release lock while pushing out packets

Keep a cache of the transports and use this to iterate the transport
while pushing packets. This allows us to release the lock early.

See https://bugzilla.gnome.org/show_bug.cgi?id=725898
gst/rtsp-server/rtsp-stream.c