mirror of https://github.com/mpv-player/mpv
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:
parent
8c225fbe0d
commit
1872284cdc
|
@ -232,9 +232,6 @@ const struct vo_driver *video_out_drivers[] =
|
||||||
#ifdef CONFIG_VESA
|
#ifdef CONFIG_VESA
|
||||||
&video_out_vesa,
|
&video_out_vesa,
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_DIRECTFB
|
|
||||||
&video_out_directfb,
|
|
||||||
#endif
|
|
||||||
#ifdef CONFIG_DFBMGA
|
#ifdef CONFIG_DFBMGA
|
||||||
&video_out_dfbmga,
|
&video_out_dfbmga,
|
||||||
#endif
|
#endif
|
||||||
|
@ -249,6 +246,10 @@ const struct vo_driver *video_out_drivers[] =
|
||||||
#endif
|
#endif
|
||||||
&video_out_null,
|
&video_out_null,
|
||||||
// should not be auto-selected
|
// should not be auto-selected
|
||||||
|
#ifdef CONFIG_DIRECTFB
|
||||||
|
// vo directfb can call exit() if initialization fails
|
||||||
|
&video_out_directfb,
|
||||||
|
#endif
|
||||||
#if CONFIG_XVMC
|
#if CONFIG_XVMC
|
||||||
&video_out_xvmc,
|
&video_out_xvmc,
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue