summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY2
-rw-r--r--osd.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index 01065c7..0a3c869 100644
--- a/HISTORY
+++ b/HISTORY
@@ -6,6 +6,8 @@ VDR Plugin 'osdpip' Revision History
- Fixed compile error with newer ffmpeg versions >= svn 20100426 (closes #345)
- Replaced deprected ffmpeg calls (Patch provided by mnival) (closes #690)
- Updated french translation (Patch provided by mnival) (closes #691)
+- Avoid segfault at stop replay with keystroke '0' (Patch provided by
+ Andreas Brachold) (closes #592)
2010-03-28: Version 0.1.0
diff --git a/osd.c b/osd.c
index db021e4..136976a 100644
--- a/osd.c
+++ b/osd.c
@@ -625,7 +625,7 @@ void cOsdPipObject::StopReplay(void)
{
cControl::Control()->ProcessKey(kStop);
cDevice::PrimaryDevice()->StopReplay();
- if (m_InfoWindow->Shown())
+ if (m_InfoWindow && m_InfoWindow->Shown())
m_InfoWindow->Hide();
Channels.SwitchTo(cDevice::CurrentChannel());
}