Use watermark image while watermarking!

The filter does not seem to actually use the watermark (image path). This update fixes the functionality.
This commit is contained in:
sujayjaju 2014-12-11 16:40:59 +05:30
commit 95fa854c3e

View file

@ -70,6 +70,6 @@ class WatermarkFilter implements VideoFilterInterface
break;
}
return array('-vf', sprintf('overlay %s:%s', $x, $y));
return array('-vf', sprintf('movie=%s [watermark]; [in][watermark] overlay=%s:%s [out]', $this->watermarkPath, $x, $y));
}
}