[Gridflow-cvs] [svn] commit: r3834 - /trunk/format/videodev.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Tue Jun 10 11:44:18 EDT 2008


Author: matju
Date: Tue Jun 10 11:44:18 2008
New Revision: 3834

Log:
pwc specific attrs appear only when attr pwc is set to 1

Modified:
    trunk/format/videodev.c

Modified: trunk/format/videodev.c
==============================================================================
--- trunk/format/videodev.c (original)
+++ trunk/format/videodev.c Tue Jun 10 11:44:18 2008
@@ -298,6 +298,9 @@
 \def 0 get (t_symbol *s=0) {
 	// this is abnormal for a get-function
 	if (!has_frequency && s==gensym("frequency")) return;
+	if (!use_pwc && (s==gensym("white_mode") || s==gensym("white_red") || s==gensym("white_blue") ||
+		s==gensym("white_speed") || s==gensym("white_delay") || s==gensym("auto_gain") ||
+		s==gensym("noise_reduction") || s==gensym("compression"))) return;
 	FObject::_0_get(argc,argv,s);
 }
 



More information about the Gridflow-cvs mailing list