diff options
author | phelin <phelin> | 2008-04-10 22:25:02 +0000 |
---|---|---|
committer | phelin <phelin> | 2008-04-10 22:25:02 +0000 |
commit | 161da8f4cfa0d174eede7aaf84e089303b0f12e5 (patch) | |
tree | 1fd8750280f68c2ed9c22908fa745e175d949bcb | |
parent | 5cecfd62e9ba3f1bdc0191dae97b7af5076a0db2 (diff) | |
download | xineliboutput-161da8f4cfa0d174eede7aaf84e089303b0f12e5.tar.gz xineliboutput-161da8f4cfa0d174eede7aaf84e089303b0f12e5.tar.bz2 |
Fix the case when watching image files and the first one just flashes and
gets replaced by black image.
-rw-r--r-- | device.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; |