summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frontend_svr.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/frontend_svr.c b/frontend_svr.c
index 96a28df7..b9412c19 100644
--- a/frontend_svr.c
+++ b/frontend_svr.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: frontend_svr.c,v 1.26 2006-10-18 13:33:06 phintuka Exp $
+ * $Id: frontend_svr.c,v 1.27 2006-11-03 20:23:14 phintuka Exp $
*
*/
@@ -539,11 +539,13 @@ int cXinelibServer::Xine_Control_Sync(const char *cmd)
void cXinelibServer::TrickSpeed(int Speed)
{
- if(Speed == 0)
+ if(Speed == 0) {
m_Scheduler->Pause(true);
- else
+ } else {
m_Scheduler->Pause(false);
-
+ m_Scheduler->TrickSpeed(Speed == -1 ? 1 : Speed);
+ }
+
cXinelibThread::TrickSpeed(Speed);
}