summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2001-11-22 02:14:12 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2001-11-22 02:14:12 +0000
commita793fe8b744f7467744493efe854a57b9b6cc02b (patch)
tree2fded9bde98f0e3a1c93aa9a96123d3c3d10a8b6
parent6c3148b4a085976f09492eefae840ca728cec18c (diff)
downloadxine-lib-a793fe8b744f7467744493efe854a57b9b6cc02b.tar.gz
xine-lib-a793fe8b744f7467744493efe854a57b9b6cc02b.tar.bz2
improving seek responsiveness (more testing needed)
CVS patchset: 1096 CVS date: 2001/11/22 02:14:12
-rw-r--r--src/xine-engine/xine.c7
1 files changed, 6 insertions, 1 deletions
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;
}