am 4f5f2786: Merge "fix the threading issue for setBuffercount()" into kraken