added: $vdetails & $hq to custom_video_file_funcs

added: $file_details to after_convert_functions
This commit is contained in:
fwhite 2010-04-20 14:39:58 +00:00
parent f7a10ca175
commit 7b968bff9b
5 changed files with 3 additions and 4 deletions

View file

@ -34,7 +34,7 @@ foreach($files as $file)
foreach(get_functions('after_convert_functions') as $func)
{
if(@function_exists($func))
$func();
$func($file_details);
}
}
@ -55,7 +55,7 @@ foreach($files as $file)
foreach(get_functions('after_convert_functions') as $func)
{
if(@function_exists($func))
$func();
$func($file_details);
}
}
}

View file

@ -1414,7 +1414,7 @@
if(is_array($Cbucket->custom_video_file_funcs))
foreach($Cbucket->custom_video_file_funcs as $func)
if(function_exists($func))
return $func($vdetails);
return $func($vdetails, $hq);
#Now there is no function so lets continue as
$vid_files = glob(VIDEOS_DIR."/".$vdetails['file_name']."*");

View file

View file

@ -1 +0,0 @@
UPDATE video SET status='Successful' WHERE file_name='1246827347'