queue2: flush differently, avoiding deadlocks
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 10 Jul 2009 20:01:39 +0000 (21:01 +0100)
committerWim Taymans <wim@metal.(none)>
Fri, 10 Jul 2009 20:01:39 +0000 (21:01 +0100)
commit084357dfb85a5ebebf69ca0577aaec59487253de
tree515d1c328c70427d303109c081f7424e94a59c47
parent40f404ad903df484c3b9770015e2288ff141f60d
queue2: flush differently, avoiding deadlocks

Don't flush the file by closing and opening it but instead use g_freopen. This
avoids a deadlock in shutdown because we emit the temp-location property change
with the wrong lock held.
gst/playback/gstqueue2.c