Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
capmt: add log for filter match
  • Loading branch information
perexg committed May 11, 2015
1 parent f1e0b7c commit ae281c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/descrambler/capmt.c
Expand Up @@ -1718,11 +1718,13 @@ capmt_table_input(void *opaque, int pid, const uint8_t *data, int len, int emm)
if ((data[i + 2] & f->mask[i]) != f->filter[i])
break;
}
if (i >= DMX_FILTER_SIZE && i + 2 <= len)
if (i >= DMX_FILTER_SIZE && i + 2 <= len) {
tvhtrace("capmt", "filter match pid %d len %d emm %d", pid, len, emm);
capmt_filter_data(capmt,
o->adapter, demux_index,
filter_index, data, len,
cf->dmx[filter_index].flags);
}
}
}
}
Expand Down

0 comments on commit ae281c9

Please sign in to comment.