0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

Fixed [no]input suboptions.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13460 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
syrjala 2004-09-25 13:46:21 +00:00
parent 596ec8d459
commit ed19d7f62d

View File

@ -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;