From: Dan Dennedy Date: Sun, 18 Apr 2010 07:36:03 +0000 (-0700) Subject: Only use newish version of libswcale. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=9752d6c86aa6fa871e8012fe69111aed6cba2f71;p=mlt Only use newish version of libswcale. Some early revisions of 0.7.1 would cause garbage on last column of image with non-even width. --- diff --git a/configure b/configure index 46848b42..a4a69e70 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #!/bin/sh -export version=0.5.2 +export version=0.5.3 export soversion=2 show_help() diff --git a/src/modules/avformat/filter_avcolour_space.c b/src/modules/avformat/filter_avcolour_space.c index 032fb4e4..b1c5eb62 100644 --- a/src/modules/avformat/filter_avcolour_space.c +++ b/src/modules/avformat/filter_avcolour_space.c @@ -163,6 +163,7 @@ static mlt_frame filter_process( mlt_filter this, mlt_frame frame ) mlt_filter filter_avcolour_space_init( void *arg ) { +#if (LIBSWSCALE_VERSION_INT >= ((0<<16)+(7<<8)+2)) // Test to see if swscale accepts the arg as resolution if ( arg ) { @@ -178,5 +179,8 @@ mlt_filter filter_avcolour_space_init( void *arg ) if ( this != NULL ) this->process = filter_process; return this; +#else + return NULL; +#endif }