mirror of
https://github.com/mpv-player/mpv
synced 2025-01-11 09:29:29 +00: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:
parent
596ec8d459
commit
ed19d7f62d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user