filter_watermark.c: bugfix propogation of output_ratio as a double - was causing...