diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-11-10 13:57:42 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-11-10 13:57:42 +0000 |
commit | d48e57b659e4c30d951838c8ce17d6fb0fe88c26 (patch) | |
tree | 2bf61bd8bc800d8d6295af0a575724402795b587 /cfg-mplayer.h | |
parent | b39016d60f420d5b69850c603ad5f64eacb27a52 (diff) | |
download | mpv-d48e57b659e4c30d951838c8ce17d6fb0fe88c26.tar.bz2 mpv-d48e57b659e4c30d951838c8ce17d6fb0fe88c26.tar.xz |
Switch containing options for DirectFB library was renamed to dfbopts.
Layer selection is done as "subdevice" - integer nuber after -vo
directfb: where -1 is autodetection and 0,1,2... are for layers
example: mplayer -vo directfb:2 -dfbopts matrox-crtc2,matrox-tv-standard=pal *.avi
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8138 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r-- | cfg-mplayer.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h index 8f6242c753..60d18cdd22 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -21,6 +21,11 @@ extern char *fb_mode_name; extern char *fb_dev_name; #endif #endif +#ifdef HAVE_DIRECTFB +#if DIRECTFBVERSION > 912 +extern char *dfb_params; +#endif +#endif #ifdef HAVE_PNG extern int z_compression; #endif @@ -237,6 +242,11 @@ static config_t mplayer_opts[]={ {"fb", &fb_dev_name, CONF_TYPE_STRING, 0, 0, 0, NULL}, #endif #endif +#ifdef HAVE_DIRECTFB +#if DIRECTFBVERSION > 912 + {"dfbopts", &dfb_params, CONF_TYPE_STRING, 0, 0, 0, NULL}, +#endif +#endif // force window width/height or resolution (with -vm) {"x", &opt_screen_size_x, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL}, |