From: Philip L. <phi...@us...> - 2005-09-22 00:47:44
|
Update of /cvsroot/artoolkit/artoolkit/lib/SRC/VideoWin32DirectShow In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3781 Modified Files: videoWin32DirectShow.cpp Log Message: Workaround for side-effect of stopping media on glut's periodic tasks. Index: videoWin32DirectShow.cpp =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/lib/SRC/VideoWin32DirectShow/videoWin32DirectShow.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** videoWin32DirectShow.cpp 23 Jul 2005 00:01:38 -0000 1.2 --- videoWin32DirectShow.cpp 22 Sep 2005 00:47:36 -0000 1.3 *************** *** 206,210 **** vid->graphManager->CheckinMemoryBuffer(vid->g_Handle, true); ! if(FAILED(vid->graphManager->Stop())) return (-1); return (0); --- 206,213 ---- vid->graphManager->CheckinMemoryBuffer(vid->g_Handle, true); ! // PRL 2005-09-21: Commented out due to issue where stopping the ! // media stream cuts off glut's periodic tasks, including functions ! // registered with glutIdleFunc() and glutDisplayFunc(); ! //if(FAILED(vid->graphManager->Stop())) return (-1); return (0); |