summaryrefslogtreecommitdiffstats
path: root/libvo/vo_dfbmga.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_dfbmga.c')
-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;