From dfb9331c62a31c29e890e56b86df4d23349928d6 Mon Sep 17 00:00:00 2001 From: stan Date: Mon, 1 Sep 2008 15:23:56 +0000 Subject: [PATCH] Removed bashism git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2623 e3e1d417-86f3-4887-817a-d78f3d33393f --- scripts/zmvideo.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/zmvideo.pl b/scripts/zmvideo.pl index 1f8aef2f8..c97066ca6 100644 --- a/scripts/zmvideo.pl +++ b/scripts/zmvideo.pl @@ -229,7 +229,7 @@ if ( $overwrite || !-s $video_file ) $video_size = $size; } - my $command = ZM_PATH_FFMPEG." -y -r $frame_rate ".ZM_FFMPEG_INPUT_OPTIONS." -i %0".ZM_EVENT_IMAGE_DIGITS."d-capture.jpg -s $video_size ".ZM_FFMPEG_OUTPUT_OPTIONS." '$video_file' >& ffmpeg.log"; + my $command = ZM_PATH_FFMPEG." -y -r $frame_rate ".ZM_FFMPEG_INPUT_OPTIONS." -i %0".ZM_EVENT_IMAGE_DIGITS."d-capture.jpg -s $video_size ".ZM_FFMPEG_OUTPUT_OPTIONS." '$video_file' > ffmpeg.log 2>&1"; Debug( $command."\n" ); my $output = qx($command);