buffer: queue all keyed packets
This commit is contained in:
@ -100,11 +100,7 @@ int buffer_list_set_stream(buffer_list_t *buf_list, bool do_on)
|
||||
buf_list->streaming = do_on;
|
||||
|
||||
if (!do_on) {
|
||||
ARRAY_FOREACH(buffer_t*, queued_buf, buf_list->queued_bufs, buf_list->n_queued_bufs) {
|
||||
buffer_consumed(*queued_buf, "stream stop");
|
||||
*queued_buf = NULL;
|
||||
}
|
||||
buf_list->n_queued_bufs = 0;
|
||||
buffer_list_clear_queue(buf_list);
|
||||
}
|
||||
|
||||
int enqueued = buffer_list_count_enqueued(buf_list);
|
||||
|
Reference in New Issue
Block a user