* fallback to software decoding when hw-acc failed
reimplmentation of hw-acc