mirror of https://github.com/mpv-player/mpv
Support for AOPLAY_FINAL_CHUNK in ao_sdl.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22122 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8fdb1522a2
commit
b09c72b9d3
|
@ -321,6 +321,7 @@ static int get_space(void){
|
||||||
// return: number of bytes played
|
// return: number of bytes played
|
||||||
static int play(void* data,int len,int flags){
|
static int play(void* data,int len,int flags){
|
||||||
|
|
||||||
|
if (!(flags & AOPLAY_FINAL_CHUNK))
|
||||||
len = (len/ao_data.outburst)*ao_data.outburst;
|
len = (len/ao_data.outburst)*ao_data.outburst;
|
||||||
#if 0
|
#if 0
|
||||||
int ret;
|
int ret;
|
||||||
|
|
Loading…
Reference in New Issue