[artoolkit-commits] artoolkit/lib/SRC/VideoGStreamer video.c, 1.6, 1.7
Optical marker tracking and overlay for augmented reality.
Brought to you by:
philip_lamb
From: Philip L. <phi...@us...> - 2006-09-19 03:12:58
|
Update of /cvsroot/artoolkit/artoolkit/lib/SRC/VideoGStreamer In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv30213 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/VideoGStreamer/video.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** video.c 18 Sep 2006 23:31:29 -0000 1.6 --- video.c 19 Sep 2006 03:12:54 -0000 1.7 *************** *** 195,199 **** /* None suppplied, lets see if the user supplied one from the shell */ char *envconf = getenv ("ARTOOLKIT_CONFIG"); ! if (envconf) { config = envconf; g_printf ("Using config string from environment [%s].\n", envconf); --- 195,199 ---- /* None suppplied, lets see if the user supplied one from the shell */ char *envconf = getenv ("ARTOOLKIT_CONFIG"); ! if (envconf && envconf[0]) { config = envconf; g_printf ("Using config string from environment [%s].\n", envconf); |