Revert "MediaNode: Wait for 0 time if the absolute timeout is in the past"

This reverts commit ae9cbf9c4e.

* Thanks to Pawel Dziepak for reporting!
This commit is contained in:
Dario Casalinuovo 2015-08-26 20:53:36 +02:00
parent 14156a33ac
commit da18151469
1 changed files with 0 additions and 4 deletions

View File

@ -343,10 +343,6 @@ BMediaNode::WaitForMessage(bigtime_t waitUntil, uint32 flags,
char data[B_MEDIA_MESSAGE_SIZE];
int32 message;
ssize_t size;
if (waitUntil < TimeSource()->RealTime())
waitUntil = 0;
while (true) {
size = read_port_etc(ControlPort(), &message, data,
sizeof(data), B_ABSOLUTE_TIMEOUT, waitUntil);