[Xineliboutput-cvslog] vdr-xineliboutput xine_input_vdr.c, 1.333, 1.334
Brought to you by:
phintuka
From: Petri H. <phi...@us...> - 2011-03-24 09:53:05
|
Update of /cvsroot/xineliboutput/vdr-xineliboutput In directory vz-cvs-3.sog:/tmp/cvs-serv28369 Modified Files: xine_input_vdr.c Log Message: reset_scr_tuning(): do not change playback speed if playback is currently paused by the user. Fixes delayed pause when using UDP/RTP. Index: xine_input_vdr.c =================================================================== RCS file: /cvsroot/xineliboutput/vdr-xineliboutput/xine_input_vdr.c,v retrieving revision 1.333 retrieving revision 1.334 diff -u -d -r1.333 -r1.334 --- xine_input_vdr.c 24 Mar 2011 09:49:43 -0000 1.333 +++ xine_input_vdr.c 24 Mar 2011 09:53:03 -0000 1.334 @@ -589,8 +589,12 @@ if (this->scr) this->scr->set_speed_tuning(this->scr, 1.0); - if (_x_get_fine_speed(this->stream) != XINE_FINE_SPEED_NORMAL) - _x_set_fine_speed(this->stream, XINE_FINE_SPEED_NORMAL); + if (_x_get_fine_speed(this->stream) != XINE_FINE_SPEED_NORMAL) { + if (!this->is_paused) + _x_set_fine_speed(this->stream, XINE_FINE_SPEED_NORMAL); + else + LOGDBG("reset_scr_tuning: playback is paused"); + } this->scr->scr.set_fine_speed(&this->scr->scr, XINE_FINE_SPEED_NORMAL); } |