Mercurial > mplayer.hg
comparison gui/interface.c @ 35453:c8f3bba6250a
Add an uiSetFile() counterpart.
Unset the file being played and clear all guiInfo information
associated with the file.
author | ib |
---|---|
date | Sat, 01 Dec 2012 19:08:53 +0000 |
parents | f42cc2361ee4 |
children | adee37856514 |
comparison
equal
deleted
inserted
replaced
35452:f42cc2361ee4 | 35453:c8f3bba6250a |
---|---|
796 if (guiInfo.Chapter) | 796 if (guiInfo.Chapter) |
797 guiInfo.Chapter = 1; | 797 guiInfo.Chapter = 1; |
798 if (guiInfo.Angle) | 798 if (guiInfo.Angle) |
799 guiInfo.Angle = 1; | 799 guiInfo.Angle = 1; |
800 | 800 |
801 if (isPlaylistStreamtype && !listMgr(PLAYLIST_ITEM_GET_CURR, 0)) { | 801 if (isPlaylistStreamtype && !listMgr(PLAYLIST_ITEM_GET_CURR, 0)) |
802 guiInfo.Track = 0; | 802 uiUnsetFile(); |
803 guiInfo.Chapter = 0; | |
804 guiInfo.Angle = 0; | |
805 guiInfo.RunningTime = 0; | |
806 guiInfo.AudioChannels = 0; | |
807 uiSetFile(NULL, NULL, STREAMTYPE_DUMMY); | |
808 } | |
809 | 803 |
810 guiInfo.ElapsedTime = 0; | 804 guiInfo.ElapsedTime = 0; |
811 guiInfo.Position = 0; | 805 guiInfo.Position = 0; |
812 | 806 |
813 if (gtkShowVideoWindow) { | 807 if (gtkShowVideoWindow) { |