From 3afb9d31e43ffd6e37dd988247b0e94422855f87 Mon Sep 17 00:00:00 2001 From: Alib Date: Mon, 22 Feb 2010 11:43:27 +0100 Subject: - fixed img position for thumbs - added segmenter binary to be configurable --- includes/include.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'includes/include.php') diff --git a/includes/include.php b/includes/include.php index e7d46ab..4810227 100755 --- a/includes/include.php +++ b/includes/include.php @@ -124,18 +124,18 @@ function gen_edit_timer() function start_stream($type, $name, $title, $desc, $qname, $qparams, $category, $url) { - global $httppath, $ffmpegpath; + global $httppath, $ffmpegpath, $segmenterpath; switch ($type) { case 1: - $cmd = "export SHELL=\"/bin/sh\";printf \"./istream.sh '" .$url ."' " .$qparams ." " .$httppath ." 2 " .$ffmpegpath ." \" | at now"; + $cmd = "export SHELL=\"/bin/sh\";printf \"./istream.sh '" .$url ."' " .$qparams ." " .$httppath ." 2 " .$ffmpegpath ." " .$segmenterpath ." \" | at now"; break; case 2: - $cmd = "export SHELL=\"/bin/sh\";printf \"cat \\\"" .$url ."\\\"/0* | ./istream.sh - " .$qparams ." " .$httppath ." 1260 " .$ffmpegpath ." \" | at now"; + $cmd = "export SHELL=\"/bin/sh\";printf \"cat \\\"" .$url ."\\\"/0* | ./istream.sh - " .$qparams ." " .$httppath ." 1260 " .$ffmpegpath ." " .$segmenterpath ." \" | at now"; break; case 3: - $cmd = "export SHELL=\"/bin/sh\";printf \"./istream.sh '" .$url ."' " .$qparams ." " .$httppath ." 1260 " .$ffmpegpath ." \" | at now"; + $cmd = "export SHELL=\"/bin/sh\";printf \"./istream.sh '" .$url ."' " .$qparams ." " .$httppath ." 1260 " .$ffmpegpath ." " .$segmenterpath ." \" | at now"; break; default: $cmd = ""; -- cgit v1.2.3