diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-31 22:59:56 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-31 22:59:56 +0000 |
commit | 147d290458995af52a9710109a4172c99ebcb4f1 (patch) | |
tree | 5e9105072c2f41f7383ada58feb2a8071c2f2419 /mencoder.c | |
parent | d35b8acb817c2cf29297c17b1e9f121ff1fb326c (diff) | |
download | mpv-147d290458995af52a9710109a4172c99ebcb4f1.tar.bz2 mpv-147d290458995af52a9710109a4172c99ebcb4f1.tar.xz |
nosound fixed?
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2601 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mencoder.c')
-rw-r--r-- | mencoder.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mencoder.c b/mencoder.c index 2e57390b63..039888ebc7 100644 --- a/mencoder.c +++ b/mencoder.c @@ -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, |