mirror of
https://github.com/mpv-player/mpv
synced 2025-02-19 22:36:55 +00:00
nosound fixed?
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2601 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d35b8acb81
commit
147d290458
@ -181,6 +181,8 @@ float audio_preload=0.3;
|
||||
exit(0); // From unknown reason a hangup occurs here :((((((
|
||||
}
|
||||
|
||||
dvd_title=2;
|
||||
|
||||
if(argc>1)
|
||||
stream=open_stream(argv[1],0,&file_format);
|
||||
else
|
||||
@ -430,6 +432,7 @@ case VCODEC_DIVX4:
|
||||
}
|
||||
|
||||
#if 1
|
||||
if(sh_audio)
|
||||
switch(mux_a->codec){
|
||||
case ACODEC_VBRMP3:
|
||||
|
||||
@ -534,6 +537,7 @@ if(sh_audio){
|
||||
|
||||
sh_video->timer+=frame_time;
|
||||
|
||||
if(sh_audio){
|
||||
if(pts_from_bps){
|
||||
unsigned int samples=(sh_audio->audio.dwSampleSize)?
|
||||
((ds_tell(d_audio)-sh_audio->a_in_buffer_len)/sh_audio->audio.dwSampleSize) :
|
||||
@ -549,6 +553,8 @@ if(sh_audio){
|
||||
}
|
||||
v_pts=d_video->pts;
|
||||
|
||||
}
|
||||
|
||||
mp_msg(MSGT_AVSYNC,MSGL_STATUS,"A:%6.1f V:%6.1f A-V:%7.3f ct:%7.3f %3d/%3d %2d%% %2d%% %4.1f%% %d%%\r",
|
||||
a_pts,v_pts,a_pts-v_pts,c_total,
|
||||
(int)sh_video->num_frames,(int)sh_video->num_frames_decoded,
|
||||
|
Loading…
Reference in New Issue
Block a user