aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaxigps <taxigps@sina.com>2012-08-24 10:00:13 +0800
committertaxigps <taxigps@sina.com>2012-08-24 10:01:22 +0800
commit2a4e36a87303fbcd2535aa984d413392a3e5927e (patch)
treed7d0de62df3aa610aa3dc14bc79c44c9f3b2de56
parent1939327b159490c705a4c869ae8da812fecb671a (diff)
Fixed: Ticket #11882 - Can't get subtitle overlay because m_pCurrent not initialized.
-rw-r--r--xbmc/cores/dvdplayer/DVDPlayerSubtitle.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xbmc/cores/dvdplayer/DVDPlayerSubtitle.cpp b/xbmc/cores/dvdplayer/DVDPlayerSubtitle.cpp
index 7a3177cb85..a1da73bb70 100644
--- a/xbmc/cores/dvdplayer/DVDPlayerSubtitle.cpp
+++ b/xbmc/cores/dvdplayer/DVDPlayerSubtitle.cpp
@@ -186,6 +186,7 @@ bool CDVDPlayerSubtitle::OpenStream(CDVDStreamInfo &hints, string &filename)
CloseStream(false);
return false;
}
+ m_pSubtitleFileParser->Reset();
return true;
}