[fifo] Fix: flush must return the number of pending events

This commit is contained in:
chme 2016-11-19 05:59:10 +01:00
parent 94a55d9fc9
commit fcbd88c56c

View File

@ -400,7 +400,7 @@ fifo_flush(output_status_cb cb, uint64_t rtptime)
fifo_session->status_cb = cb;
fifo_session->state = OUTPUT_STATE_CONNECTED;
fifo_status(fifo_session);
return 0;
return 1;
}
static void