[Mplayer-cvslog] CVS: main/libvo vo_dfbmga.c,1.21,1.22
Ville Syrjälä CVS
syncmail at mplayerhq.hu
Sat Sep 25 15:46:24 CEST 2004
CVS change done by Ville Syrjälä CVS
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv17167
Modified Files:
vo_dfbmga.c
Log Message:
Fixed [no]input suboptions.
Index: vo_dfbmga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_dfbmga.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- vo_dfbmga.c 20 Aug 2004 14:09:16 -0000 1.21
+++ vo_dfbmga.c 25 Sep 2004 13:46:21 -0000 1.22
@@ -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;
More information about the MPlayer-cvslog
mailing list