Skip to content

Commit

Permalink
dvdplayer: fix app exit caused by creating teletext while thread is r…
Browse files Browse the repository at this point in the history
…unning already
  • Loading branch information
FernetMenta committed Nov 12, 2014
1 parent fad1a75 commit 8fd7c30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xbmc/cores/dvdplayer/DVDPlayerTeletext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ bool CDVDTeletextData::CheckStream(CDVDStreamInfo &hints)

bool CDVDTeletextData::OpenStream(CDVDStreamInfo &hints)
{
CloseStream(true);

m_messageQueue.Init();

if (hints.codec == AV_CODEC_ID_DVB_TELETEXT)
Expand Down

0 comments on commit 8fd7c30

Please sign in to comment.