Mercurial > pt1.oyama
changeset 141:519a035533f6
Fix DLNA streaming issue.
author | Naoya OYAMA <naoya.oyama@gmail.com> |
---|---|
date | Sun, 29 Jul 2012 18:43:46 +0900 |
parents | faa0bc5fc2f5 |
children | d65c15276b5e |
files | src/recpt1.c |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/recpt1.c Sat Jul 28 16:14:10 2012 +0900 +++ b/src/recpt1.c Sun Jul 29 18:43:46 2012 +0900 @@ -349,8 +349,6 @@ return buffer; } -#define QUQUE_LOW_MIN (100) -#define QUEUE_LOW_USLEEP (800*1000) ARIB_STD_B25_BUFFER * stream_dequeue(STREAM_QUEUE_T *p_queue) { @@ -390,10 +388,6 @@ pthread_mutex_unlock(&p_queue->mutex); pthread_cond_signal(&p_queue->cond_avail); - if ( p_queue->num_used < QUQUE_LOW_MIN ) { - /* force sleep 800msec */ - usleep(QUEUE_LOW_USLEEP); - } return buffer; }