[artoolkit-commits] artoolkit/lib/SRC/VideoLinuxV4L video.c, 1.7, 1.8
Optical marker tracking and overlay for augmented reality.
Brought to you by:
philip_lamb
From: Philip L. <phi...@us...> - 2006-09-19 03:12:47
|
Update of /cvsroot/artoolkit/artoolkit/lib/SRC/VideoLinuxV4L In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv30199 Modified Files: video.c Log Message: Add back in check for empty environment string. Check on Mac OS X and Linux DV video libs also. Index: video.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/lib/SRC/VideoLinuxV4L/video.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** video.c 18 Sep 2006 23:31:18 -0000 1.7 --- video.c 19 Sep 2006 03:12:45 -0000 1.8 *************** *** 159,163 **** /* None suppplied, lets see if the user supplied one from the shell */ char *envconf = getenv ("ARTOOLKIT_CONFIG"); ! if (envconf) { config = envconf; printf ("Using config string from environment [%s].\n", envconf); --- 159,163 ---- /* None suppplied, lets see if the user supplied one from the shell */ char *envconf = getenv ("ARTOOLKIT_CONFIG"); ! if (envconf && envconf[0]) { config = envconf; printf ("Using config string from environment [%s].\n", envconf); |