Commit e7e36a0b authored by Leigh Stoller's avatar Leigh Stoller

Minor change to how I set the framerate; I think I was missing it and

we getting 5fps in the little tracker versions, which is way too much.
Really slow!
parent 9b17b075
...@@ -52,7 +52,14 @@ if (!$query_result || !mysql_num_rows($query_result)) { ...@@ -52,7 +52,14 @@ if (!$query_result || !mysql_num_rows($query_result)) {
$row = mysql_fetch_array($query_result); $row = mysql_fetch_array($query_result);
$URL = (isset($applet) ? $row["URL"] : $row["stillimage_URL"]); $URL = (isset($applet) ? $row["URL"] : $row["stillimage_URL"]);
if (isset($fromtracker)) { if (isset($fromtracker)) {
$URL .= "&resolution=240x180&fps=2"; $URL .= "&resolution=240x180";
if (preg_match("/fps=\d*/", $URL)) {
$URL = preg_replace("/fps=\d*/", "fps=2", $URL);
}
else {
$URL .= "&fps=2";
}
} }
# #
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment