Opened 8 years ago

#1994 new defect

Profiles not included when including configuration file from /etc/mplayer.conf

Reported by: tobias@… Owned by: reimar
Priority: normal Component: core
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

I have added an include line in /etc/mplayer/mplayer.conf that includes a file containing a profile. This profile is not known by mplayer when running (see "Available profiles" in the CLI output below.

When manually including my config file from the cli, the profile is visible.

I have tried on MPlayer SVN-r33996-4.6.0 (RPM: mplayer-1.0-0.125.20110816svn.fc15.x86_64), and on mplayer-checkout-2011-10-23 with the same result on both builds.


[root@zeus mplayer]# d /etc/mplayer/
total 28K
-rw-r--r--. 1 root root 4.7K May 5 15:52 input.conf
-rw-r--r--. 1 root root 5.7K Feb 20 2010 menu.conf
-rw-r--r--. 1 root root 4.3K Oct 25 18:09 mplayer.conf
-rw-r--r--. 1 root root 157 Oct 25 17:51 mplayer-tv.conf
[root@zeus mplayer]# tail -3 /etc/mplayer/mplayer.conf

# You can also include other configuration files.
include=/etc/mplayer/mplayer-tv.conf
[root@zeus mplayer]# cat /etc/mplayer/mplayer-tv.conf
[tv-out]
profile-desc = "Output on secondary Xinerama display"
xineramascreen = 1
subpos = 94
subfont-text-scale = 2.5
fs = yes
vm = yes
monitoraspect = 16:9
[root@zeus mplayer]#


[tobias@zeus ~]$ mplayer -profile help
Available profiles:

protocol.dvdnav

MPlayer SVN-r33996-4.6.0 (C) 2000-2011 MPlayer Team
[tobias@zeus ~]$ mplayer -include /etc/mplayer/mplayer-tv.conf -profile help
Available profiles:

tv-out Output on secondary Xinerama display
protocol.dvdnav

MPlayer SVN-r33996-4.6.0 (C) 2000-2011 MPlayer Team


[tobias@zeus mplayer-checkout-2011-10-23]$ ./mplayer -include /etc/mplayer/mplayer.conf -profile help
The flip-hebrew option can't be used in a config file.
Error parsing option flip-hebrew=no at line 128
The fontconfig option can't be used in a config file.
Error parsing option fontconfig=yes at line 131
Warning unknown option stop-xscreensaver at line 158
Available profiles:

protocol.dvdnav

MPlayer SVN-r34237-4.6.1 (C) 2000-2011 MPlayer Team
Cannot load bitmap font 'Sans'.
[tobias@zeus mplayer-checkout-2011-10-23]$ ./mplayer -include /etc/mplayer/mplayer.conf -include /etc/mplayer/mplayer-tv.conf -profile help
The flip-hebrew option can't be used in a config file.
Error parsing option flip-hebrew=no at line 128
The fontconfig option can't be used in a config file.
Error parsing option fontconfig=yes at line 131
Warning unknown option stop-xscreensaver at line 158
The flip-hebrew option can't be used in a config file.
Error parsing option flip-hebrew=no at line 128
The fontconfig option can't be used in a config file.
Error parsing option fontconfig=yes at line 131
Warning unknown option stop-xscreensaver at line 158
Warning unknown option subfont-text-scale at line 5
Available profiles:

tv-out Output on secondary Xinerama display
protocol.dvdnav

MPlayer SVN-r34237-4.6.1 (C) 2000-2011 MPlayer Team
Cannot load bitmap font 'Sans'.
[tobias@zeus mplayer-checkout-2011-10-23]$

Change History (0)

Note: See TracTickets for help on using tickets.