diff options
author | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2010-10-15 14:21:21 +0000 |
---|---|---|
committer | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2010-10-15 14:21:21 +0000 |
commit | ec61915c5e86c86cbb993e3051a25bda067cbce0 (patch) | |
tree | a0e2aac483fb8d8f2aefc474f260ba354131bbc4 /app | |
parent | 6d16f7a11001a4893576facd7c6f1f2805c38e54 (diff) |
oops. start with an undefined encoding instead of yuy2. lets the code
figure out what encoding to use, based on what the hardware supports.
still uses yuy2 by default if the hardware supports it.
Diffstat (limited to 'app')
-rw-r--r-- | app/video/video.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/video/video.c b/app/video/video.c index 29352d1af..ce03b7ac4 100644 --- a/app/video/video.c +++ b/app/video/video.c @@ -1,4 +1,4 @@ -/* $OpenBSD: video.c,v 1.7 2010/10/15 09:27:26 jakemsr Exp $ */ +/* $OpenBSD: video.c,v 1.8 2010/10/15 14:21:20 jakemsr Exp $ */ /* * Copyright (c) 2010 Jacob Meuser <jakemsr@openbsd.org> * @@ -1496,6 +1496,7 @@ main(int argc, char *argv[]) x->cur_adap = -1; vid.dev.fd = vid.iofile_fd = -1; vid.mode = M_IN_DEV | M_OUT_XV; + vid.enc = -1; wout = 1; while ((ch = getopt(argc, argv, "va:e:f:i:O:o:r:s:")) != -1) { |