Skip to content

Commit

Permalink
[rbp/omxplayer] allow external .sub subtitles next to text-based ones
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed Nov 3, 2013
1 parent 9a09cba commit 102d925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/cores/omxplayer/OMXPlayer.cpp
Expand Up @@ -3999,7 +3999,7 @@ bool COMXPlayer::GetCurrentSubtitle(CStdString& strSubtitle)
{
double pts = m_clock.GetClock() + m_State.time_offset;

if (m_pInputStream && m_pInputStream->IsStreamType(DVDSTREAM_TYPE_DVD) && m_CurrentSubtitle.source != STREAM_SOURCE_TEXT)
if (m_pInputStream && m_pInputStream->IsStreamType(DVDSTREAM_TYPE_DVD) && m_CurrentSubtitle.source != STREAM_SOURCE_TEXT && m_CurrentSubtitle.source != STREAM_SOURCE_DEMUX_SUB)
return false;

m_dvdPlayerSubtitle.GetCurrentSubtitle(strSubtitle, pts - m_omxPlayerVideo.GetSubtitleDelay());
Expand Down

0 comments on commit 102d925

Please sign in to comment.