added: $vdetails & $hq to custom_video_file_funcs
added: $file_details to after_convert_functions
This commit is contained in:
parent
f7a10ca175
commit
7b968bff9b
5 changed files with 3 additions and 4 deletions
|
@ -34,7 +34,7 @@ foreach($files as $file)
|
||||||
foreach(get_functions('after_convert_functions') as $func)
|
foreach(get_functions('after_convert_functions') as $func)
|
||||||
{
|
{
|
||||||
if(@function_exists($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)
|
foreach(get_functions('after_convert_functions') as $func)
|
||||||
{
|
{
|
||||||
if(@function_exists($func))
|
if(@function_exists($func))
|
||||||
$func();
|
$func($file_details);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1414,7 +1414,7 @@
|
||||||
if(is_array($Cbucket->custom_video_file_funcs))
|
if(is_array($Cbucket->custom_video_file_funcs))
|
||||||
foreach($Cbucket->custom_video_file_funcs as $func)
|
foreach($Cbucket->custom_video_file_funcs as $func)
|
||||||
if(function_exists($func))
|
if(function_exists($func))
|
||||||
return $func($vdetails);
|
return $func($vdetails, $hq);
|
||||||
|
|
||||||
#Now there is no function so lets continue as
|
#Now there is no function so lets continue as
|
||||||
$vid_files = glob(VIDEOS_DIR."/".$vdetails['file_name']."*");
|
$vid_files = glob(VIDEOS_DIR."/".$vdetails['file_name']."*");
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
UPDATE video SET status='Successful' WHERE file_name='1246827347'
|
|
Loading…
Add table
Reference in a new issue