Fixed deadlock, the cookie is incremented by the node, not by the media kit.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3296 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
beveloper 2003-05-23 23:13:55 +00:00
parent 80e966963f
commit f6ae82103c

View File

@ -119,7 +119,6 @@ BBufferProducer::GetLatency(bigtime_t *out_lantency)
*out_lantency = 0;
cookie = 0;
while (B_OK == GetNextOutput(&cookie, &output)) {
cookie++;
if (output.destination == media_destination::null)
continue;