From a793fe8b744f7467744493efe854a57b9b6cc02b Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Thu, 22 Nov 2001 02:14:12 +0000 Subject: improving seek responsiveness (more testing needed) CVS patchset: 1096 CVS date: 2001/11/22 02:14:12 --- src/xine-engine/xine.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index cc82eb3eb..7e0923222 100644 --- a/src/xine-engine/xine.c +++ b/src/xine-engine/xine.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine.c,v 1.78 2001/11/20 14:03:15 miguelfreitas Exp $ + * $Id: xine.c,v 1.79 2001/11/22 02:14:12 miguelfreitas Exp $ * * top-level xine functions * @@ -244,6 +244,11 @@ void xine_play (xine_t *this, char *mrl, this->cur_input_plugin->stop(this->cur_input_plugin); } + /* this will make output threads discard about everything + (seeking should be faster!) */ + this->metronom->adjust_clock(this->metronom, + this->metronom->get_current_time(this->metronom) + 30 * 90000 ); + this->status = XINE_STOP; } -- cgit v1.2.3