When app pauses, store and restore subtitle so the
playback continues along with the selected
subtitle.
Change-Id: I53a6115f1c66aa76f89db5b68cb2c15b0a1f593b
Signed-off-by: Ravi Kiran K N <ravi.kiran@samsung.com>
VP_FREE(pNormalView->szSubtitleURL);
- VP_STRDUP(pNormalView->szSubtitleURL, szSubtitle);
+ if (vp_file_exists(szSubtitle)) {
+ VP_STRDUP(pNormalView->szSubtitleURL, szSubtitle);
+ }
return TRUE;
}
}
VP_FREE(pPlayView->szSubtitleURL);
+ vp_play_normal_view_get_subtitle(pPlayView->pNormalView, &pPlayView->szSubtitleURL);
VideoLogInfo("vp_play_normal_view_unrealize START");
if (!pPlayView->bIsSharePopup) {