summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2006-11-03 20:23:14 +0000
committerphintuka <phintuka>2006-11-03 20:23:14 +0000
commit989650118a525acc556a32e8f076f3f979897eb4 (patch)
tree3518a75f05538c09a60e11d4abd06b15c668197e
parentb2b435df141c7314ecbb9dd5cd9637aa5f260a9a (diff)
downloadxineliboutput-989650118a525acc556a32e8f076f3f979897eb4.tar.gz
xineliboutput-989650118a525acc556a32e8f076f3f979897eb4.tar.bz2
Trick speeds
-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);
}