From 7fe2856fd99fb9211634a3fbf611fb8c04232396 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Tue, 12 Apr 2011 18:11:12 +0300 Subject: OSD: support displaying fractional part of current position Add option -osd-fractions which enables display of fractional seconds when showing the current playback time on OSD. Based on a patch from Christian but with several modifications. --- DOCS/man/de/mplayer.1 | 18 ++++++++++++++++++ DOCS/man/en/mplayer.1 | 17 +++++++++++++++++ 2 files changed, 35 insertions(+) (limited to 'DOCS') diff --git a/DOCS/man/de/mplayer.1 b/DOCS/man/de/mplayer.1 index de7bef45ca..120c6ce701 100644 --- a/DOCS/man/de/mplayer.1 +++ b/DOCS/man/de/mplayer.1 @@ -2408,6 +2408,24 @@ Deaktiviert das automatische Laden von Untertiteln. Setzt die Anzeigedauer der OSD-Meldungen in ms (Standard: 1000). . .TP +.B \-osd\-fractions <0\-2> +Setzt die Art der Anzeige von Nachkommastellen des aktuellen Zeitstempels im +OSD: +.PD 0 +.RSs +.IPs 0 +Keine Anzeige der Nachkommastellen (Standard). +.IPs 1 +Zeige die ersten beiden Nachkommastellen. +.IPs 2 +Zeige genäherte Framezahl an. +Die angezeigte Framezahl ist nicht exakt, sondern nur genähert. +Für variable FPS ist die Näherung weit von der tatsächlichen Framezahl +entfernt. +.RE +.PD 1 +. +.TP .B \-osdlevel <0\-3> (nur bei MPlayer) Gibt den Modus an, in dem das OSD startet: .PD 0 diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1 index 91ae431846..75671c69ec 100644 --- a/DOCS/man/en/mplayer.1 +++ b/DOCS/man/en/mplayer.1 @@ -2298,6 +2298,23 @@ Turns off automatic subtitle file loading. Set the duration of the OSD messages in ms (default: 1000). . .TP +.B \-osd\-fractions <0\-2> +Set how fractions of seconds of the current timestamp are printed on the OSD: +.PD 0 +.RSs +.IPs 0 +Do not display fractions (default). +.IPs 1 +Show the first two decimals. +.IPs 2 +Show approximate frame count within current second. +This frame count is not accurate but only an approximation. +For variable fps, the approximation is known to be far off the correct frame +count. +.RE +.PD 1 +. +.TP .B \-osdlevel <0\-3> Specifies which mode the OSD should start in. .PD 0 -- cgit v1.2.3