summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'device.c')
-rw-r--r--device.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/device.c b/device.c
index 02513638..996fa7da 100644
--- a/device.c
+++ b/device.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: device.c,v 1.54 2008-03-16 21:40:57 phintuka Exp $
+ * $Id: device.c,v 1.55 2008-04-10 22:25:02 phelin Exp $
*
*/
@@ -914,7 +914,8 @@ bool cXinelibDevice::PlayFile(const char *FileName, int Position,
if(FileName) {
if(m_PlayingFile == pmNone) {
m_PlayingFile = PlayMode;
- StopOutput();
+ if (!xc.IsImageFile(FileName))
+ StopOutput();
}
for(int i = 0; i < mi_Count; i++)
m_MetaInfo[i][0] = 0;