fixed missing filesize
git-svn-id: http://yolanda.mister-muffin.de/svn@78 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
parent
15ad6bca36
commit
0f777e4762
1 changed files with 2 additions and 1 deletions
|
@ -120,11 +120,12 @@ while(1)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
$filesize = -s "$gnutube_root/tmp/$id";
|
||||||
|
|
||||||
#check if the upload already is in the right format
|
#check if the upload already is in the right format
|
||||||
if ($container eq 'ogg' and $video eq 'theora' and $audio eq 'vorbis')
|
if ($container eq 'ogg' and $video eq 'theora' and $audio eq 'vorbis')
|
||||||
{
|
{
|
||||||
appendlog $id, "file already is ogg-theora/vorbis";
|
appendlog $id, "file already is ogg-theora/vorbis";
|
||||||
$filesize = -s "$gnutube_root/tmp/$id";
|
|
||||||
|
|
||||||
#fill database
|
#fill database
|
||||||
$sth = $dbh->prepare(qq{update videos set
|
$sth = $dbh->prepare(qq{update videos set
|
||||||
|
|
Loading…
Reference in a new issue