Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78196 - mplayer man page lists options wrong: - vs. --
Summary: mplayer man page lists options wrong: - vs. --
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-16 03:38 UTC by Alexander Skwar
Modified: 2005-01-19 10:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Skwar 2005-01-16 03:38:48 UTC
In the (german) mplayer man page, it says:

-dvd-device <Pfad zum Gerat> (nur bei DVD)
 Gibt das DVD-Gerat an (Standard: /dev/dvd).  Du kannst auch ein  Verzeichnis  angeben,
 das  die  zuvor direkt von DVD kopierten Dateien enthalt (so wie mit vobcopy).  Merke,
 dass die Benutzung von -dumpstream normalerweise ein besserer Weg  ist,  DVD-Titel  zu
 kopieren (siehe Beispiele).


That's wrong. mplayer has no option "-dvd-device". The correct option name is "--dvd-device". In the man page, there's just one - before dvd, but there need to be two -.

The same is true for other options listed in the man page.

media-video/mplayer-1.0_pre6

This error is present in all the man pages of mplayer (in all languages).


[12:44:35 alexander@server:/usr/src/linux] $ emerge info
Portage 2.0.51-r12 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-ck4.ASN.viele-module i686)
=================================================================
System uname: 2.6.10-ck4.ASN.viele-module i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 10 2004, 20:47:21)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.9.4, 1.5, 1.4_p6, 1.7.9, 1.6.3, 1.8.5-r2
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks sandbox sfperms"
GENTOO_MIRRORS="http://localhost/~alexander/gentoo-files/ http://php2.ath.cx/~askwar/gentoo-files/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X acl adns alsa apache2 apm arts artswrappersuid async avi bluetooth bzlib cairo calendar cddb cdparanoia cdr cdrom codecs crypt cscope cups curl curlwrappers dga diet divx4linux encode esd ethereal evo exif fam fbcon fbdev ffmpeg fftw flac flash font-server foomaticdb foreign-package foreign-sysvinit ftp fwdzone gd gdbm gif gimp gimpprint gmail gnokii gnome gphoto2 gpm gstreamer gtk gtk2 guile hal iconv imagemagick imap imlib immqt-bc irmc java javascript jpeg kde libedit libg++ libwww lzo lzw lzw-tiff mad maildir mailwrapper matroska matrox mbox mime mmap mmx mng mozilla mp3 mpeg ncurses network nls no-old-linux no_wxgtk1 noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet nojdepend nojsch nojython nolog4j nooro noregexp norhino noxalan noxerces nptl offensive oggvorbis opengl opie oss pam parse-clocks pcntl pcre pda pdflib perl pic pie png posix ppds python qt quicktime quotes readline real recode samba sasl shared slang sockets spell sse ssl svg sysvipc tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb videos vim-with-x wmf x86 xchattext xfs xine xml xml2 xmms xv xvid zlib video_cards_matrox linguas_de"
Unset:  PORTDIR_OVERLAY
Comment 1 Roland Bär 2005-01-18 06:34:44 UTC
Could also be, that mplayer itself should accept, as documented, -dvd-device.
Looks like, except --help, a double-dash finishes argument list, so all after that
no more an option, see comment in line 93 in parse-mpcmd.c:
 /* check for -- (no more options id.) except --help! */
Should be submitted UPSTREAM
Comment 2 Chris White (RETIRED) gentoo-dev 2005-01-18 06:56:41 UTC
This is their man pages, so it really needs to be checked upstream.  Use the MPlayer bugzilla to submit a bug report, then announce it on the mplayer dev mailling list (to which I subscribe and will notice the results..).
Comment 3 Alexander Skwar 2005-01-18 08:51:32 UTC
Roland: No, the option is --dvd-device, not -dvd-device. Try it.

[16:56:38 alexander@server:~] $ mplayer -dvd-device
MPlayer 1.0pre6-3.4.3 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Kompiliert f\uffffr x86 CPU mit folgenden Erweiterungen: MMX MMX2 3DNow 3DNowEx SSE


Warning unknown option cache_min at line 144
Warning unknown option cache_prefill at line 147

Unknown option on the command line: dvd-device

Chris: I'll file a bug with mplayer. It's now at http://bugzilla.mplayerhq.hu/show_bug.cgi?id=211
Comment 4 Roland Bär 2005-01-19 01:02:52 UTC
Add dvd and probably dvdread to your USE flags.
-- is end of options, filenames are now coming. 
mplayer doesn't check/use, what's immediatly after --
Try: mplayer --foobar 
Same results
Leave as INVALID
Comment 5 Luca Barbato gentoo-dev 2005-01-19 10:40:37 UTC
reopening
Comment 6 Luca Barbato gentoo-dev 2005-01-19 10:41:33 UTC
Closed ad invalid. Upstream will add some cosmetic changes to report in a more verbose way the option disabled.