10l, patch by Jan Knutar <jknutar@nic.fi>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13685 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
faust3 2004-10-18 21:16:45 +00:00
parent 1eb7061e2c
commit fec22a5be7
1 changed files with 2 additions and 2 deletions

View File

@ -1952,14 +1952,14 @@ if(sh_audio) sh_audio->delay=-audio_delay;
if(!sh_audio){
mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_NoSound);
mp_msg(MSGT_CPLAYER,MSGL_V,"Freeing %s unused audio chunks.\n",d_audio->packs);
mp_msg(MSGT_CPLAYER,MSGL_V,"Freeing %d unused audio chunks.\n",d_audio->packs);
ds_free_packs(d_audio); // free buffered chunks
d_audio->id=-2; // do not read audio chunks
//uninit_player(INITED_AO); // close device
}
if(!sh_video){
mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_Video_NoVideo);
mp_msg(MSGT_CPLAYER,MSGL_V,"Freeing %s unused video chunks.\n",d_video->packs);
mp_msg(MSGT_CPLAYER,MSGL_V,"Freeing %d unused video chunks.\n",d_video->packs);
ds_free_packs(d_video);
d_video->id=-2;
//if(!fixed_vo) uninit_player(INITED_VO);