summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorsyrjala <syrjala@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-09-25 13:46:21 +0000
committersyrjala <syrjala@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-09-25 13:46:21 +0000
commited19d7f62de0c2b562c7f441592b75e3ff4c4e82 (patch)
treec14013ff1603005fd00dfeba481fdad8cd403e9f /libvo
parent596ec8d45979e7ac21dd6a37cbc50b86f03e92ef (diff)
downloadmpv-ed19d7f62de0c2b562c7f441592b75e3ff4c4e82.tar.bz2
mpv-ed19d7f62de0c2b562c7f441592b75e3ff4c4e82.tar.xz
Fixed [no]input suboptions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13460 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_dfbmga.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libvo/vo_dfbmga.c b/libvo/vo_dfbmga.c
index ac4f5bde12..483752bfed 100644
--- a/libvo/vo_dfbmga.c
+++ b/libvo/vo_dfbmga.c
@@ -220,6 +220,7 @@ static uint32_t
preinit( const char *arg )
{
DFBResult res;
+ int force_input = -1;
/* Some defaults */
use_bes = 0;
@@ -255,7 +256,7 @@ preinit( const char *arg )
vo_subdevice += 4;
opt_no = 0;
} else if (!strncmp(vo_subdevice, "input", 5)) {
- use_input = !opt_no;
+ force_input = !opt_no;
vo_subdevice += 5;
opt_no = 0;
} else if (!strncmp(vo_subdevice, "buffermode=", 11)) {
@@ -426,6 +427,9 @@ preinit( const char *arg )
use_input = 1;
}
+ if (force_input != -1)
+ use_input = force_input;
+
if (use_bes) {
DFBDisplayLayerConfig dlc;
DFBDisplayLayerConfigFlags failed;