Changeset 3584
- Timestamp:
- Mar 25, 2013, 6:47:35 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/nanovis/FlowCmd.cpp
r3579 r3584 1849 1849 if (data.size() == 0) { 1850 1850 ERROR("ffmpeg returned 0 bytes"); 1851 Tcl_AppendResult(interp, "Couldn't create movie file", 1852 (char *)NULL); 1853 return TCL_ERROR; 1854 } else { 1855 sprintf(cmd,"nv>image -type movie -token \"%s\" -bytes %lu\n", 1856 token, (unsigned long)data.size()); 1857 NanoVis::sendDataToClient(cmd, data.bytes(), data.size()); 1858 return TCL_OK; 1859 } 1851 } 1852 // Send zero length to client so it can deal with error 1853 sprintf(cmd,"nv>image -type movie -token \"%s\" -bytes %lu\n", 1854 token, (unsigned long)data.size()); 1855 NanoVis::sendDataToClient(cmd, data.bytes(), data.size()); 1856 return TCL_OK; 1860 1857 } 1861 1858
Note: See TracChangeset
for help on using the changeset viewer.