hevc: adding md5 comparison on the fly