mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-21 15:20:02 +01:00
fixed setting of default values
git-svn-id: svn://code.dyne.org/veejay/trunk@142 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
@@ -38,7 +38,6 @@ vj_effect *ghost_init(int w, int h)
|
||||
ve->limits[0][0] = 16;
|
||||
ve->limits[1][0] = 255; // opacity
|
||||
ve->defaults[0] = 134;
|
||||
ve->defaults[1] = 55;
|
||||
ve->description = "Motion Ghost";
|
||||
ve->sub_format = 1;
|
||||
ve->extra_frame = 0;
|
||||
@@ -115,7 +114,9 @@ void ghost_apply(VJFrame *frame,
|
||||
for(i = 0; i < len; i ++ )
|
||||
bm[i] = ( abs(srcY[i] - dY[i]) > 1 ? 0xff: 0x0);
|
||||
|
||||
for( y = width; y < len; y += width )
|
||||
|
||||
|
||||
for( y = width; y < (len-width); y += width )
|
||||
{
|
||||
for( x = 1; x < width - 1; x ++ )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user