Mercurial > mplayer.hg
comparison mplayer.c @ 13684:af465f23bd1d
10l, patch by Jan Knutar <jknutar@nic.fi>
author | faust3 |
---|---|
date | Mon, 18 Oct 2004 21:16:45 +0000 |
parents | 741649fe31cb |
children | d7af73cc38da |
comparison
equal
deleted
inserted
replaced
13683:8a4b345b98fd | 13684:af465f23bd1d |
---|---|
1950 if(sh_video) sh_video->timer=0; | 1950 if(sh_video) sh_video->timer=0; |
1951 if(sh_audio) sh_audio->delay=-audio_delay; | 1951 if(sh_audio) sh_audio->delay=-audio_delay; |
1952 | 1952 |
1953 if(!sh_audio){ | 1953 if(!sh_audio){ |
1954 mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_NoSound); | 1954 mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_NoSound); |
1955 mp_msg(MSGT_CPLAYER,MSGL_V,"Freeing %s unused audio chunks.\n",d_audio->packs); | 1955 mp_msg(MSGT_CPLAYER,MSGL_V,"Freeing %d unused audio chunks.\n",d_audio->packs); |
1956 ds_free_packs(d_audio); // free buffered chunks | 1956 ds_free_packs(d_audio); // free buffered chunks |
1957 d_audio->id=-2; // do not read audio chunks | 1957 d_audio->id=-2; // do not read audio chunks |
1958 //uninit_player(INITED_AO); // close device | 1958 //uninit_player(INITED_AO); // close device |
1959 } | 1959 } |
1960 if(!sh_video){ | 1960 if(!sh_video){ |
1961 mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_Video_NoVideo); | 1961 mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_Video_NoVideo); |
1962 mp_msg(MSGT_CPLAYER,MSGL_V,"Freeing %s unused video chunks.\n",d_video->packs); | 1962 mp_msg(MSGT_CPLAYER,MSGL_V,"Freeing %d unused video chunks.\n",d_video->packs); |
1963 ds_free_packs(d_video); | 1963 ds_free_packs(d_video); |
1964 d_video->id=-2; | 1964 d_video->id=-2; |
1965 //if(!fixed_vo) uninit_player(INITED_VO); | 1965 //if(!fixed_vo) uninit_player(INITED_VO); |
1966 } | 1966 } |
1967 | 1967 |