Mercurial > mplayer.hg
comparison gui/win32/widgetrender.c @ 33646:f3300b0c38a9
Rename guiInterface_t member AudioType AudioChannels.
Additionally, simplify code in mplayer.c.
author | ib |
---|---|
date | Mon, 27 Jun 2011 10:02:04 +0000 |
parents | 1f9a31d4f114 |
children | e0d211c62cf7 |
comparison
equal
deleted
inserted
replaced
33645:4c3bee76ef3b | 33646:f3300b0c38a9 |
---|---|
154 if(guiInfo.Playing == GUI_STOP) stringreplace(text, NULL, "s"); | 154 if(guiInfo.Playing == GUI_STOP) stringreplace(text, NULL, "s"); |
155 else if(guiInfo.Playing == GUI_PLAY) stringreplace(text, NULL, "p"); | 155 else if(guiInfo.Playing == GUI_PLAY) stringreplace(text, NULL, "p"); |
156 else if(guiInfo.Playing == GUI_PAUSE) stringreplace(text, NULL, "e"); | 156 else if(guiInfo.Playing == GUI_PAUSE) stringreplace(text, NULL, "e"); |
157 } | 157 } |
158 | 158 |
159 if(guiInfo.AudioType == 0) stringreplace(text, "$a", "n"); | 159 if(guiInfo.AudioChannels == 0) stringreplace(text, "$a", "n"); |
160 else if(guiInfo.AudioType == 1) stringreplace(text, "$a", "m"); | 160 else if(guiInfo.AudioChannels == 1) stringreplace(text, "$a", "m"); |
161 else stringreplace(text, "$a", "t"); | 161 else stringreplace(text, "$a", "t"); |
162 | 162 |
163 if(guiInfo.StreamType == 0) | 163 if(guiInfo.StreamType == 0) |
164 stringreplace(text, "$T", "f"); | 164 stringreplace(text, "$T", "f"); |
165 #ifdef CONFIG_DVDREAD | 165 #ifdef CONFIG_DVDREAD |