sync
This commit is contained in:
parent
50c8bafd9f
commit
ac06c97e30
820 changed files with 467502 additions and 386453 deletions
|
@ -66,7 +66,7 @@ findname(XvAttribute table[], int nattr, const char *name)
|
|||
int i;
|
||||
|
||||
if (strncasecmp(name, "XV_", 3) == 0)
|
||||
name +=3;
|
||||
name +=3;
|
||||
for (i = 0; i < nattr; i++) {
|
||||
if (strcasecmp(table[i].name+3, name) == 0)
|
||||
return table+i;
|
||||
|
@ -108,7 +108,7 @@ setvar(Display *dpy, XvPortID id, int nflag, XvAttribute table[], int nattr,
|
|||
Atom atom;
|
||||
|
||||
at = findname(table, nattr, name);
|
||||
if (!at)
|
||||
if (!at)
|
||||
return;
|
||||
if (!(at->flags & XvSettable)) {
|
||||
warnx("Can't set %s", name);
|
||||
|
@ -229,7 +229,7 @@ main(int argc, char *argv[])
|
|||
if (!dpy)
|
||||
errx(1, "Unable to open display %s", displayname(display));
|
||||
if (Success != XvQueryExtension(dpy, &ver, &rev, &reqB, &eventB,
|
||||
&errorB))
|
||||
&errorB))
|
||||
errx(1, "No X-Video extension on %s", displayname(display));
|
||||
|
||||
if (!nflag)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue