[MPlayer-cvslog] r37066 - in trunk/gui: ui/render.c win32/widgetrender.c
ib
subversion at mplayerhq.hu
Tue Mar 25 13:48:55 CET 2014
Author: ib
Date: Tue Mar 25 13:48:55 2014
New Revision: 37066
Log:
Output symbol character 'r' for AudioPassthrough.
This may not always be true, but certainly in most cases.
Modified:
trunk/gui/ui/render.c
trunk/gui/win32/widgetrender.c
Modified: trunk/gui/ui/render.c
==============================================================================
--- trunk/gui/ui/render.c Tue Mar 25 13:41:35 2014 (r37065)
+++ trunk/gui/ui/render.c Tue Mar 25 13:48:55 2014 (r37066)
@@ -202,7 +202,7 @@ calclengthmmmmss:
break;
case 2:
- av_strlcat(trbuf, "t", sizeof(trbuf));
+ av_strlcat(trbuf, (guiInfo.AudioPassthrough ? "r" : "t"), sizeof(trbuf));
break;
default:
Modified: trunk/gui/win32/widgetrender.c
==============================================================================
--- trunk/gui/win32/widgetrender.c Tue Mar 25 13:41:35 2014 (r37065)
+++ trunk/gui/win32/widgetrender.c Tue Mar 25 13:48:55 2014 (r37066)
@@ -169,7 +169,7 @@ static char *generatetextfromlabel(widge
if(guiInfo.AudioChannels == 0) stringreplace(text, "$a", "n");
else if(guiInfo.AudioChannels == 1) stringreplace(text, "$a", "m");
- else if(guiInfo.AudioChannels == 2) stringreplace(text, "$a", "t");
+ else if(guiInfo.AudioChannels == 2) stringreplace(text, "$a", (guiInfo.AudioPassthrough ? : "r": "t"));
else stringreplace(text, "$a", "r");
if(guiInfo.StreamType == STREAMTYPE_FILE)
More information about the MPlayer-cvslog
mailing list