[Sumover-dev] [svn commit] r4385 - vic/branches/mpeg4/video

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Wed Feb 11 17:09:45 GMT 2009


Author: piers
Date: Wed Feb 11 17:09:45 2009
New Revision: 4385

Modified:
   vic/branches/mpeg4/video/grabber-file.cpp
   vic/branches/mpeg4/video/grabber-still.cpp

Log:
Added TCL_OK return for 'file' command


Modified: vic/branches/mpeg4/video/grabber-file.cpp
==============================================================================
--- vic/branches/mpeg4/video/grabber-file.cpp	(original)
+++ vic/branches/mpeg4/video/grabber-file.cpp	Wed Feb 11 17:09:45 2009
@@ -129,6 +129,7 @@
 		{
 		    debug_msg("Loading %s\n", argv[2]);
 		    load_file(argv[2]);
+		    return (TCL_OK);
 		}
     }
     return (InputDevice::command(argc, argv));

Modified: vic/branches/mpeg4/video/grabber-still.cpp
==============================================================================
--- vic/branches/mpeg4/video/grabber-still.cpp	(original)
+++ vic/branches/mpeg4/video/grabber-still.cpp	Wed Feb 11 17:09:45 2009
@@ -122,6 +122,7 @@
 
 int StillDevice::command(int argc, const char*const* argv)
 {
+    debug_msg("iStillDevice %s\n", argv[2]);
     if (argc == 3)
     {
 	if (strcmp(argv[1], "open") == 0)
@@ -138,6 +139,7 @@
 	{
 	    debug_msg("Loading %s\n", argv[2]);
 	    load_file(argv[2]);
+	    return (TCL_OK);
 	}
     }
     return (InputDevice::command(argc, argv));



More information about the Sumover-dev mailing list