Changeset 2959
- Timestamp:
- Apr 10, 2012 4:12:19 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.in
r2890 r2959 335 335 AC_MSG_ERROR(oops! no avpicture_get_size ?!?)) 336 336 AC_CHECK_FUNC(avpicture_fill,,AC_MSG_ERROR(oops! no avpicture_fill ?!?)) 337 337 AC_CHECK_FUNCS(sws_getCachedContext) 338 AC_CHECK_FUNCS(img_convert) 339 AC_CHECK_FUNCS(sws_scale) 338 340 AC_TRY_COMPILE([ 339 341 #define __STDC_CONSTANT_MACROS 1 -
trunk/gui/scripts/flowvisviewer.tcl
r2876 r2959 1053 1053 } 1054 1054 "movie" { 1055 puts stderr "read [string length $bytes] bytes type=$info(-type) token=$info(-token)"1056 1055 set tag $this-$info(-token) 1057 1056 set _hardcopy($tag) $bytes -
trunk/lang/tcl/src/RpEncodeTclInterface.cc
r2935 r2959 278 278 279 279 string = Tcl_GetStringFromObj(objv[last], &numBytes); 280 280 if (switches.flags == 0) { 281 if (strncmp(string, "@@RP-ENC:", 9) != 0) { 282 /* This string doesn't have a header, so it's not encoded. 283 * Just return the string as-is. */ 284 Tcl_SetObjResult(interp, objv[last]); 285 return TCL_OK; 286 } 287 } 281 288 Rappture::Buffer buf(string, numBytes); 282 283 289 Rappture::Outcome status; 284 290 if (!Rappture::encoding::decode(status, buf, switches.flags)) { … … 286 292 return TCL_ERROR; 287 293 } 288 Tcl_SetStringObj(Tcl_GetObjResult(interp), buf.bytes(), buf.size()); 294 Tcl_SetByteArrayObj(Tcl_GetObjResult(interp), 295 (const unsigned char *)buf.bytes(), buf.size()); 289 296 return TCL_OK; 290 297 }
Note: See TracChangeset
for help on using the changeset viewer.