Andrea, can yo apply thus patch, load/play/encode file with this patch applied and post output?

for me it prints twice  "1" and then consistently "8" (my num. of cores)