Reviewed & tested by the community
Project:
FFmpeg Wrapper
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jan 2010 at 13:31 UTC
Updated:
25 Jan 2010 at 14:50 UTC
The function ffmpeg_wrapper_path_to_vhook returns a bool variabile rather than a string with the path to the vhook. This prevents watermarking to work.
Instead of this:
function ffmpeg_wrapper_path_to_vhook($name) {
if ($path = file_exists(variable_get('ffmpeg_wrapper_vhook', '/usr/local/lib/vhook/') . $name)) {
return $path;
}
}
it should be like this:
function ffmpeg_wrapper_path_to_vhook($name) {
$path = variable_get('ffmpeg_wrapper_vhook', '/usr/local/lib/vhook/') . $name;
if (file_exists($path)) {
return $path;
}
}
Comments
Comment #1
arthurf commentedThanks for the catch. Committed and ready for review
Comment #2
voidberg commentedWorks ok now, thanks.