diff options
author | phintuka <phintuka> | 2008-07-14 08:01:02 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2008-07-14 08:01:02 +0000 |
commit | 3d1f44d8a822956e592ad55cc4a73cb09099ddcf (patch) | |
tree | 11d168fc1cd5aa81eb943c876b10c0a195d403e9 | |
parent | af10099a1b597bc6e65215992a3e1e92a510bee2 (diff) | |
download | xineliboutput-3d1f44d8a822956e592ad55cc4a73cb09099ddcf.tar.gz xineliboutput-3d1f44d8a822956e592ad55cc4a73cb09099ddcf.tar.bz2 |
cXinelibDvdPlayerControl::ProcessKey : Check for failed open when checking if replay has been ended
-rw-r--r-- | media_player.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/media_player.c b/media_player.c index ca0bc653..e58e7dbb 100644 --- a/media_player.c +++ b/media_player.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: media_player.c,v 1.53 2008-05-18 20:24:51 phintuka Exp $ + * $Id: media_player.c,v 1.54 2008-07-14 08:01:02 phintuka Exp $ * */ @@ -894,7 +894,9 @@ void cXinelibDvdPlayerControl::Show(void) eOSState cXinelibDvdPlayerControl::ProcessKey(eKeys Key) { - if (cXinelibDevice::Instance().EndOfStreamReached()) { + if (cXinelibDevice::Instance().EndOfStreamReached() || + !m_Player->Replaying() ) { + LOGDBG("cXinelibDvdPlayerControl: EndOfStreamReached"); Hide(); return osEnd; } |