summaryrefslogtreecommitdiff
path: root/media_player.c
diff options
context:
space:
mode:
Diffstat (limited to 'media_player.c')
-rw-r--r--media_player.c6
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;
}