mirror of
https://github.com/mpv-player/mpv
synced 2025-03-03 12:47:49 +00:00
set audio_out_minsize, should avoid all "maxlen too small" cases
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18159 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2d6eb3cf57
commit
f232cb8882
@ -100,7 +100,7 @@ mpc_reader header_reader = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static int preinit(sh_audio_t *sh) {
|
static int preinit(sh_audio_t *sh) {
|
||||||
// sh->audio_out_minsize = 2 * MPC_DECODER_BUFFER_LENGTH;
|
sh->audio_out_minsize = 2 * MPC_DECODER_BUFFER_LENGTH;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user