VO: remove directfb from autoselected VOs

VO_directfb can call exit() if initialization fails. This makes
MPlayer exit without cleanup if autoselection tries it. This can be
seen for example by running something like this in an X terminal:
DISPLAY=foo mplayer file.mkv

The easiest fix for this is to remove directdb from the list of
autoselected VOs. The console VOs have enough problems that people who
want to use them should know what they're doing anyway.
This commit is contained in:
Uoti Urpala 2010-01-31 02:01:12 +02:00
parent 8c225fbe0d
commit 1872284cdc
1 changed files with 4 additions and 3 deletions

View File

@ -232,9 +232,6 @@ const struct vo_driver *video_out_drivers[] =
#ifdef CONFIG_VESA
&video_out_vesa,
#endif
#ifdef CONFIG_DIRECTFB
&video_out_directfb,
#endif
#ifdef CONFIG_DFBMGA
&video_out_dfbmga,
#endif
@ -249,6 +246,10 @@ const struct vo_driver *video_out_drivers[] =
#endif
&video_out_null,
// should not be auto-selected
#ifdef CONFIG_DIRECTFB
// vo directfb can call exit() if initialization fails
&video_out_directfb,
#endif
#if CONFIG_XVMC
&video_out_xvmc,
#endif