Mercurial > mplayer.hg
diff gui/win32/interface.c @ 34064:54becc464788
Set MPlayer filename in uiSetFileName().
This ensures that filename always points to guiInfo.Filename (the GUI
filename).
If guiInit() is called without filename being set, leave it that way.
(This applies if the GUI should not start playing immediately.)
author | ib |
---|---|
date | Thu, 29 Sep 2011 13:26:32 +0000 |
parents | 19e2b5682587 |
children | 8a7056729022 |
line wrap: on
line diff
--- a/gui/win32/interface.c Thu Sep 29 11:19:23 2011 +0000 +++ b/gui/win32/interface.c Thu Sep 29 13:26:32 2011 +0000 @@ -340,7 +340,9 @@ else setddup(&guiInfo.Filename, dir, name); + filename = guiInfo.Filename; guiInfo.StreamType = type; + nfree(guiInfo.AudioFilename); nfree(guiInfo.SubtitleFilename); }