[Sumover-dev] [svn commit] r3843 - vic/trunk/video

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Mon Sep 11 14:34:56 BST 2006


Author: ucacsva
Date: Mon Sep 11 14:35:26 2006
New Revision: 3843

Modified:
   vic/trunk/video/grabber-win32DS.cpp

Log:
Got rid of 422 capability in format set. 422 crashes vic as there's no grabber returned for it. Maybe we could write one.

Modified: vic/trunk/video/grabber-win32DS.cpp
==============================================================================
--- vic/trunk/video/grabber-win32DS.cpp	(original)
+++ vic/trunk/video/grabber-win32DS.cpp	Mon Sep 11 14:35:26 2006
@@ -699,7 +699,9 @@
 DirectShowDevice::DirectShowDevice(char *friendlyName, IBaseFilter *pCapFilt) : InputDevice(friendlyName) {  
    debug_msg("new DirectShowDevice():  friendlyName=%s\n", friendlyName);
    directShowFilter_  = pCapFilt;           
-   attributes_        = "format { 422 411 } size { large small cif } port { external-in } ";
+   //SV: XXX got rid of 422 format since there's no grabber returned for it and vic crashes
+   //attributes_        = "format { 422 411 } size { large small cif } port { external-in } ";
+   attributes_        = "format { 411 } size { large small cif } port { external-in } ";
 }
 
 //--------------------------------



More information about the Sumover-dev mailing list