mirror of https://github.com/mpv-player/mpv
...
This commit is contained in:
parent
1e86b97f06
commit
b22e3e3280
|
@ -427,7 +427,7 @@ static int open_f(stream_t *stream)
|
||||||
|
|
||||||
pthread_mutex_init(&p->lock, NULL);
|
pthread_mutex_init(&p->lock, NULL);
|
||||||
pthread_cond_init(&p->wakeup, NULL);
|
pthread_cond_init(&p->wakeup, NULL);
|
||||||
p->ring = mp_ring_new(stream, 3 * 64 * 1024);
|
p->ring = mp_ring_new(stream, 2 * 64 * 1024);
|
||||||
int r = pthread_create(&p->thread, NULL, read_thread, stream);
|
int r = pthread_create(&p->thread, NULL, read_thread, stream);
|
||||||
if (r)
|
if (r)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue