# HG changeset patch # User ib # Date 1354188922 0 # Node ID 2de8e26093c498d2ebd9c3ca7c1f0cbc3b463f2c # Parent abece00352ec193a7a357376f5a52b48a2b50f74 Don't unconditionally reset AudioChannels after playback. Only do so if no media opened. This will continue displaying the correct audio channel information for the file still being opened after playback. diff -r abece00352ec -r 2de8e26093c4 gui/interface.c --- a/gui/interface.c Thu Nov 29 04:52:19 2012 +0000 +++ b/gui/interface.c Thu Nov 29 11:35:22 2012 +0000 @@ -789,12 +789,13 @@ filename = NULL; - if (isPlaylistStreamtype && !listMgr(PLAYLIST_ITEM_GET_CURR, 0)) + if (isPlaylistStreamtype && !listMgr(PLAYLIST_ITEM_GET_CURR, 0)) { + guiInfo.AudioChannels = 0; uiSetFileName(NULL, NULL, STREAMTYPE_DUMMY); + } guiInfo.ElapsedTime = 0; guiInfo.Position = 0; - guiInfo.AudioChannels = 0; guiInfo.Track = 1; guiInfo.Chapter = 1;