Skip to content

Commit

Permalink
Disable repositioning for SSA/ASS subtitles with default position level
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberbeing committed Apr 18, 2018
1 parent d07c343 commit 7851b67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subtitles/RTS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3381,7 +3381,7 @@ STDMETHODIMP CRenderedTextSubtitle::RenderEx( IXySubRenderFrame**subRenderFrame,
while ( pos!=NULL )
{
const CSubtitle2& sub2 = sub2List.GetNext(pos);
if (sub2.s->m_hard_position_level >= POS_LVL_NONE)
if (sub2.s->m_hard_position_level >= POS_LVL_NONE || sub2.s->m_hard_position_level == -1)
{
m_movable = false;
break;
Expand Down

0 comments on commit 7851b67

Please sign in to comment.