-#!/bin/bash
+#!/bin/sh
function show_help
{
if [ -x src/$i/configure ]
then
[ $help = 0 ] && echo "Configuring `basename $i`:"
- pushd src/$i > /dev/null
+ olddir=`pwd`
+ cd src/$i
./configure "$@"
[ $? != 0 ] && exit 1
- popd > /dev/null
+ cd $olddir
fi
done
-#!/bin/bash
+#!/bin/sh
# Clean up disables if not in help mode
[ "$help" != "1" ] && rm -f disable-* producers.dat filters.dat transitions.dat consumers.dat
# Create the make.inc file
-echo SUBDIRS = `find -type d -maxdepth 1 | grep -v CVS | grep -v "^.$" | sed 's/\.\///'` > make.inc
+echo SUBDIRS = `find . -type d -maxdepth 1 | grep -v CVS | grep -v "^.$" | sed 's/\.\///'` > make.inc
# Iterate through arguments
for i in "$@"
if [ "$gpl" = "true" -o ! -f $i/gpl ]
then
[ "$help" = "0" ] && echo "Configuring modules/$i:"
- pushd $i > /dev/null
+ olddir2=`pwd`
+ cd $i
./configure "$@"
[ $? != 0 ] && exit 1
- popd > /dev/null
+ cd $olddir2
elif [ "$help" = "0" ]
then
touch disable-$i
int32_t luma_softness = mlt_properties_get_double( properties, "softness" ) * ( 1 << 16 );
uint16_t *luma_bitmap = get_luma( properties, width_b, height_b );
- composite_line_fn line_fn = mlt_properties_get_int( properties, "_MMX" ) ? composite_line_yuv_mmx : NULL;
+ //composite_line_fn line_fn = mlt_properties_get_int( properties, "_MMX" ) ? composite_line_yuv_mmx : NULL;
+ composite_line_fn line_fn = NULL;
for ( field = 0; field < ( progressive ? 1 : 2 ); field++ )
{
this->height = mlt_properties_get_int( this->properties, "height" );
// Default window size
- this->window_width = ( float )this->height * this->display_aspect + 0.5;
+ this->window_width = ( float )this->height * this->display_aspect;
this->window_height = this->height;
}
else
if ( this->rect.w > this->window_width )
{
this->rect.w = this->window_width;
- this->rect.h = this_aspect / frame_aspect * this->window_height + 0.5;
+ this->rect.h = this_aspect / frame_aspect * this->window_height;
}
}
}
else if ( this->window_height * this->display_aspect > this->window_width )
{
this->rect.w = this->window_width;
- this->rect.h = this->window_width / this->display_aspect + 0.5;
+ this->rect.h = this->window_width / this->display_aspect;
}
else
{
- this->rect.w = this->window_height * this->display_aspect + 0.5;
+ this->rect.w = this->window_height * this->display_aspect;
this->rect.h = this->window_height;
}