Mercurial > mplayer.hg
changeset 13459:5634013c47c8
Fixed [no]input suboptions.
author | syrjala |
---|---|
date | Sat, 25 Sep 2004 13:46:21 +0000 |
parents | 0562632dc839 |
children | 70d8f1975fc8 |
files | libvo/vo_dfbmga.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_dfbmga.c Sat Sep 25 10:11:16 2004 +0000 +++ b/libvo/vo_dfbmga.c Sat Sep 25 13:46:21 2004 +0000 @@ -220,6 +220,7 @@ preinit( const char *arg ) { DFBResult res; + int force_input = -1; /* Some defaults */ use_bes = 0; @@ -255,7 +256,7 @@ 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 @@ use_input = 1; } + if (force_input != -1) + use_input = force_input; + if (use_bes) { DFBDisplayLayerConfig dlc; DFBDisplayLayerConfigFlags failed;