Author: ib Date: Mon Oct 9 19:25:23 2017 New Revision: 37992 Log: Enable skins to leave current volume unchanged at GUI startup.
Starting with svn r37055, the meaning of zero as a potentiometer's "default" parameter has changed. Prior to this revision the volume set before the GUI's startup remained unchanged with such default (due to a bug), after that the volume was consequently set to zero. In order to re-enable the old behavior, i.e. leaving the volume unchanged at GUI startup, a plain hyphen-minus can be used as "default" parameter now. Additionally, update the documentation. Modified: trunk/DOCS/xml/en/skin.xml Changes in other areas also in this revision: Modified: trunk/Changelog trunk/DOCS/xml/de/skin.xml trunk/gui/interface.c trunk/gui/skin/skin.c trunk/gui/win32/interface.c trunk/gui/win32/skinload.c Modified: trunk/DOCS/xml/en/skin.xml ============================================================================== --- trunk/DOCS/xml/en/skin.xml Mon Oct 9 17:57:43 2017 (r37991) +++ trunk/DOCS/xml/en/skin.xml Mon Oct 9 19:25:23 2017 (r37992) @@ -442,6 +442,10 @@ blocks. <listitem><para> <literal>default</literal> - default value for the potentiometer (in the range <literal>0</literal> to <literal>100</literal>) + </para><para> + (If message is <literal>evSetVolume</literal>, it's allowed to use a + plain hyphen-minus as value. This will cause the currently set volume to + remain unchanged.) </para></listitem> <listitem><para> <literal>X</literal>, <literal>Y</literal> - position for the potentiometer _______________________________________________ MPlayer-DOCS mailing list MPlayer-DOCS@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mplayer-docs