Make guiInfo.SubtitleFilename available as long as the video plays.
authorib <ib@b3059339-0415-0410-9bf9-f77b7e298cf2>
Thu, 12 Apr 2018 12:40:54 +0000 (12:40 +0000)
committerib <ib@b3059339-0415-0410-9bf9-f77b7e298cf2>
Thu, 12 Apr 2018 12:40:54 +0000 (12:40 +0000)
commitde8d39cbb265a0cba091bb46deb203a735f9bdab
treebedc5d45f5f70f3f8157606088ef3259b64b5cb4
parentb637be318360506bb5f458baae86bca932595037
Make guiInfo.SubtitleFilename available as long as the video plays.

Don't clear guiInfo.SubtitleFilename with uiUnsetMedia(FALSE),
because media is unset (i.e. prepared) this way whenever a new
file will be loaded for playback which happens *after* loading
a separate subtitle.

So explicitly clear guiInfo.SubtitleFilename only by a full unset
(uiUnsetMedia(TRUE)) and regularly unset it after a playback has
ended (at GUI_END_PLAY).

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@38070 b3059339-0415-0410-9bf9-f77b7e298cf2
gui/interface.c
gui/ui/actions.c