# HG changeset patch # User ib # Date 1308748223 0 # Node ID 4221981ad74cc4736c1e45427d201139f03dcd09 # Parent 1f9a31d4f114c36546a1915bede709cd7df8894f Prefer playing variable $p to $l. $p is used in the Win32 GUI as well. Leave $l for legacy reasons. Revise skin documentation. diff -r 1f9a31d4f114 -r 4221981ad74c DOCS/xml/de/skin.xml --- a/DOCS/xml/de/skin.xml Wed Jun 22 12:53:30 2011 +0000 +++ b/DOCS/xml/de/skin.xml Wed Jun 22 13:10:23 2011 +0000 @@ -695,7 +695,7 @@ - $l + $p Buchstabe p (wenn ein Film abgespielt wird) @@ -735,7 +735,7 @@ - Die Variablen $a, $T, $l, $s und $e + Die Variablen $a, $T, $p, $s und $e geben Buchstaben zurück, die als spezielle Symbole angezeigt werden sollen (zum Beispiel steht e für das Pause-Symbol, welches gewöhnlich etwa so || aussieht). diff -r 1f9a31d4f114 -r 4221981ad74c DOCS/xml/en/skin.xml --- a/DOCS/xml/en/skin.xml Wed Jun 22 12:53:30 2011 +0000 +++ b/DOCS/xml/en/skin.xml Wed Jun 22 13:10:23 2011 +0000 @@ -582,7 +582,7 @@ - $l + $p the p character (if a movie is playing) @@ -610,7 +610,7 @@ - The $a, $T, $l, $s and $e + The $a, $T, $p, $s and $e variables all return characters that should be displayed as special symbols (for example, e is for the pause symbol that usually looks something like ||). You should have a font for normal characters and diff -r 1f9a31d4f114 -r 4221981ad74c gui/ui/render.c --- a/gui/ui/render.c Wed Jun 22 12:53:30 2011 +0000 +++ b/gui/ui/render.c Wed Jun 22 13:10:23 2011 +0000 @@ -234,7 +234,8 @@ av_strlcat(trbuf, "s", sizeof(trbuf)); break; - case 'l': + case 'l': // legacy + case 'p': if (guiInfo.Playing == GUI_PLAY) av_strlcat(trbuf, "p", sizeof(trbuf)); break;