Changeset 26461
- Timestamp:
- Dec 18, 2009, 10:16:14 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/magic_destreak.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/magic_destreak.pl
r26447 r26461 381 381 } 382 382 383 file_check($statsFile);384 383 my $statsFlags; 385 { 386 my $resolvedStatsFile = $ipprc->file_resolve($statsFile); 387 my $command = "$ppStatsFromMetadata $resolvedStatsFile - STREAKSREMOVE"; 388 389 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 390 run(command => $command, verbose => $verbose); 391 unless ($success) { 392 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); 393 &my_die("Unable to perform ppStatsFromMetadata: $error_code", $magic_ds_id, $component, $error_code); 394 } 395 foreach my $line (@$stdout_buf) { 396 $statsFlags .= " $line"; 397 } 398 chomp $statsFlags; 384 if ($stage ne "camera") { 385 file_check($statsFile); 386 { 387 my $resolvedStatsFile = $ipprc->file_resolve($statsFile); 388 my $command = "$ppStatsFromMetadata $resolvedStatsFile - STREAKSREMOVE"; 389 390 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 391 run(command => $command, verbose => $verbose); 392 unless ($success) { 393 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); 394 &my_die("Unable to perform ppStatsFromMetadata: $error_code", $magic_ds_id, $component, $error_code); 395 } 396 foreach my $line (@$stdout_buf) { 397 $statsFlags .= " $line"; 398 } 399 chomp $statsFlags; 400 } 399 401 } 400 402
Note:
See TracChangeset
for help on using the changeset viewer.
