Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 96848
Collapse All | Expand All

(-)xawtv-3.94.org/x11/xv.c (+6 lines)
Lines 315-320 Link Here
315
    struct STRTAB *inputs = NULL;
315
    struct STRTAB *inputs = NULL;
316
    char *h;
316
    char *h;
317
    int n, i, vi_port = -1, vi_adaptor = -1;
317
    int n, i, vi_port = -1, vi_adaptor = -1;
318
    Atom xv_atom;
318
319
319
    if (Success != XvQueryExtension(dpy,&ver,&rel,&req,&ev,&err)) {
320
    if (Success != XvQueryExtension(dpy,&ver,&rel,&req,&ev,&err)) {
320
	if (debug)
321
	if (debug)
Lines 424-429 Link Here
424
                handle->xv_encoding = XV_ENCODING;
425
                handle->xv_encoding = XV_ENCODING;
425
            if (0 == strcmp("XV_FREQ",at[i].name))
426
            if (0 == strcmp("XV_FREQ",at[i].name))
426
                handle->xv_freq     = XV_FREQ;
427
                handle->xv_freq     = XV_FREQ;
428
	    if (0 == strcmp("XV_AUTOPAINT_COLORKEY",at[i].name))
429
	    {
430
		xv_atom = XInternAtom(dpy,"XV_AUTOPAINT_COLORKEY",False);
431
		XvSetPortAttribute(dpy,vi_port,xv_atom,1);
432
	    }
427
#if 0
433
#if 0
428
            if (0 == strcmp("XV_COLORKEY",at[i].name))
434
            if (0 == strcmp("XV_COLORKEY",at[i].name))
429
                handle->xv_colorkey = XV_COLORKEY;
435
                handle->xv_colorkey = XV_COLORKEY;

Return to bug 96848