From: root Date: Mon, 19 Aug 2013 18:35:01 +0000 (+0800) Subject: Make spandsp more toelrant of far end's handling of metric/inch in FAX processing X-Git-Tag: v1.5.5~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2541bd39aa1e5615ddff2ec729f5940fdf86b371;p=thirdparty%2Ffreeswitch.git Make spandsp more toelrant of far end's handling of metric/inch in FAX processing --- diff --git a/libs/spandsp/src/t30.c b/libs/spandsp/src/t30.c index d629d79087..6074f5f5a1 100644 --- a/libs/spandsp/src/t30.c +++ b/libs/spandsp/src/t30.c @@ -1804,8 +1804,8 @@ static int analyze_rx_dis_dtc(t30_state_t *s, const uint8_t *msg, int len) } else { - if (!test_ctrl_bit(s->far_dis_dtc_frame, T30_DIS_BIT_INCH_RESOLUTION_PREFERRED)) - s->mutual_colour_resolutions &= ~T4_RESOLUTION_200_200; + //if (!test_ctrl_bit(s->far_dis_dtc_frame, T30_DIS_BIT_INCH_RESOLUTION_PREFERRED)) + // s->mutual_colour_resolutions &= ~T4_RESOLUTION_200_200; } if (!test_ctrl_bit(s->far_dis_dtc_frame, T30_DIS_BIT_INCH_RESOLUTION_PREFERRED)) s->mutual_bilevel_resolutions &= ~T4_RESOLUTION_200_100;