comparison mplayer.c @ 18243:8cb434bc37e4

5 - Drop more buffered audio data left from old position when seeking. Patch by Uoti Urpala
author rtognimp
date Mon, 24 Apr 2006 11:00:20 +0000
parents caac2ca98168
children 5bf6b74e793c
comparison
equal deleted inserted replaced
18242:caac2ca98168 18243:8cb434bc37e4
4832 } 4832 }
4833 4833
4834 if(sh_audio){ 4834 if(sh_audio){
4835 current_module="seek_audio_reset"; 4835 current_module="seek_audio_reset";
4836 audio_out->reset(); // stop audio, throwing away buffered data 4836 audio_out->reset(); // stop audio, throwing away buffered data
4837 sh_audio->a_buffer_len = 0;
4838 sh_audio->a_out_buffer_len = 0;
4837 } 4839 }
4838 // Set OSD: 4840 // Set OSD:
4839 if(!loop_seek){ 4841 if(!loop_seek){
4840 #ifdef USE_EDL 4842 #ifdef USE_EDL
4841 if( !edl_decision ) 4843 if( !edl_decision )