Skip to content

Commit

Permalink
restore the behaviour where the generated file names are printed to s…
Browse files Browse the repository at this point in the history
…tdout.
  • Loading branch information
connortechnology committed Jul 11, 2016
1 parent 477c023 commit 6129732
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/zmvideo.pl.in
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ foreach my $event_id ( @event_ids ) {
my $video_file = $Event->GenerateVideo( $rate, $fps, $scale, $size, $overwrite, $format );
if ( $video_file ) {
push @video_files, $video_file;
print( STDOUT $video_file."\n" );
}
} # end foreach event_id

Expand Down Expand Up @@ -253,9 +254,6 @@ if ( $concat_name ) {
Error( "Unable to generate video, check /ffmpeg.log for details");
exit(-1);
}

print( STDOUT $video_file."\n" );
}
#unlink $input_file_list;
#print( STDOUT $event->{MonitorId}.'/'.$event->{Id}.'/'.$video_file."\n" );
#print( STDOUT $video_file."\n" );
exit( 0 );

0 comments on commit 6129732

Please sign in to comment.