mirror of https://github.com/mpv-player/mpv
actually...
This commit is contained in:
parent
df82b5a63f
commit
1e86b97f06
|
@ -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, 2 * 64 * 1024);
|
p->ring = mp_ring_new(stream, 3 * 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