@littlesat ,
Guess You mean that the resulting code lines :
/* required if previous subtitle was external or new one is back to external */ if (m_change_aktif_subtitle == 1 || m_change_aktif_subtitle == 2) { if (m_change_aktif_subtitle == 1) { eDebug("[eServiceMP3] Switch back/restart external subtittle"); pts_t ppos = 0; if (getPlayPosition(ppos) >= 0) { // seek flush seekTo(ppos); } m_change_aktif_subtitle = 0; } else if (m_change_aktif_subtitle == 2) { eDebug("[eServiceMP3] switch to internal subtitle comming from external subtitle."); m_change_aktif_subtitle = 3; } return; }
should become :
if (m_change_aktif_subtitle == 1) { eDebug("[eServiceMP3] Switch back/restart external subtittle"); pts_t ppos = 0; if (getPlayPosition(ppos) >= 0) { // seek flush seekTo(ppos); } m_change_aktif_subtitle = 0; } else if (m_change_aktif_subtitle == 2) { eDebug("[eServiceMP3] switch to internal subtitle comming from external subtitle."); m_change_aktif_subtitle = 3; } return;
That will not work since we always will have a return and never any subtitle.
Or what do You mean ?