capmt: Fix the wrong pid handling in capmt_pid_flush()
Merge remote-tracking branch 'upstream/master' into durationfilter