projects
/
melted
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
touchup on the producer in/out applied to parent entry
[melted]
/
src
/
modules
/
gtk2
/
filter_rescale.c
diff --git
a/src/modules/gtk2/filter_rescale.c
b/src/modules/gtk2/filter_rescale.c
index
02b7644
..
c57e33d
100644
(file)
--- a/
src/modules/gtk2/filter_rescale.c
+++ b/
src/modules/gtk2/filter_rescale.c
@@
-38,6
+38,8
@@
static int filter_get_image( mlt_frame this, uint8_t **image, mlt_image_format *
*width = 720;
if ( *height == 0 )
*height = 576;
+ if ( *width < 2 || *height < 6 )
+ return 1;
mlt_properties properties = mlt_frame_properties( this );
int iwidth = *width;
@@
-220,4
+222,3
@@
mlt_filter filter_rescale_init( char *arg )
}
return this;
}
-