Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: Wrong colors using tvTime dvb-driver



Ruediger Dohmhardt <ruediger.dohmhardt@freenet.de> writes:

> and now xawTv-3.88 (using the x-video extension) works together with
> the NVIDIA 1.0-44.96/GeForce TI4600.

The patch below should fix the crash.  Can someone confirm this (have
no nvidia ...)?

  Gerd

--- xawtv-3.88.1/x11/xv.c~	2003-03-27 20:01:13.000000000 +0100
+++ xawtv-3.88.1/x11/xv.c	2003-09-12 16:21:39.000000000 +0200
@@ -432,10 +432,12 @@
 	}
 
 	if (handle->xv_encoding != None) {
-	    xv_add_attr(handle, ATTR_ID_NORM, ATTR_TYPE_CHOICE,
-			0, norms, NULL);
-	    xv_add_attr(handle, ATTR_ID_INPUT, ATTR_TYPE_CHOICE,
-			0, inputs, NULL);
+	    if (norms)
+		xv_add_attr(handle, ATTR_ID_NORM, ATTR_TYPE_CHOICE,
+			    0, norms, NULL);
+	    if (inputs)
+		xv_add_attr(handle, ATTR_ID_INPUT, ATTR_TYPE_CHOICE,
+			    0, inputs, NULL);
 	}
 #if 0
 	if (xv_colorkey != None) {



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index