descrambler: add more logs for lost packets
mpegts input: slightly optimize the main input routine
optimize mpegts_input_recv_packets() routine
support/pid-count.py: add code for cc errors
capmt: Fix the mutex deadlock