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

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Thu Jun 12 10:41:53 EDT 2008


Author: matju
Date: Thu Jun 12 10:41:53 2008
New Revision: 3871

Log:
add "size" attribute. (faked for now, as it is two atoms, not a nested-list, and attributes are still supposed to be single atoms)

Modified:
    trunk/format/videodev.c

Modified: trunk/format/videodev.c
==============================================================================
--- trunk/format/videodev.c (original)
+++ trunk/format/videodev.c Thu Jun 12 10:41:53 2008
@@ -304,6 +304,9 @@
 		outlet_anything(bself->outlets[0],gensym("palette"),1,a);
 		SETSYMBOL(a,use_mmap ? gensym("mmap") : gensym("read"));
 		outlet_anything(bself->outlets[0],gensym("transfer"),1,a);
+		SETFLOAT(a+0,dim->v[0]);
+		SETFLOAT(a+1,dim->v[1]);
+		outlet_anything(bself->outlets[0],gensym("size"),2,a); // abnormal (does not use nested list)
 	}
 }
 



More information about the Gridflow-cvs mailing list