summaryrefslogtreecommitdiffstats
path: root/cfg-mplayer.h
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-10 13:57:42 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-10 13:57:42 +0000
commitd48e57b659e4c30d951838c8ce17d6fb0fe88c26 (patch)
tree2bf61bd8bc800d8d6295af0a575724402795b587 /cfg-mplayer.h
parentb39016d60f420d5b69850c603ad5f64eacb27a52 (diff)
downloadmpv-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.h10
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},