summaryrefslogtreecommitdiff
path: root/frontend.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontend.c')
-rw-r--r--frontend.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/frontend.c b/frontend.c
index 690e2f66..7f5e794c 100644
--- a/frontend.c
+++ b/frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: frontend.c,v 1.66 2009-01-08 11:58:33 rofafor Exp $
+ * $Id: frontend.c,v 1.67 2009-01-26 08:58:52 phintuka Exp $
*
*/
@@ -689,7 +689,8 @@ int cXinelibThread::Xine_Control(const char *cmd, const char *p1)
}
bool cXinelibThread::PlayFile(const char *FileName, int Position,
- bool LoopPlay, ePlayMode PlayMode)
+ bool LoopPlay, ePlayMode PlayMode,
+ int TimeoutMs)
{
TRACEF("cXinelibThread::PlayFile");
@@ -738,7 +739,7 @@ bool cXinelibThread::PlayFile(const char *FileName, int Position,
Unlock();
}
- int result = PlayFileCtrl(buf);
+ int result = PlayFileCtrl(buf, TimeoutMs);
if(!FileName || result != 0) {
Lock();