Hardware decoding is faster but doesn't support as many file types. Software decoding is flexible and can support many media formats, but it's slower.
Hardware decoding in general can also lead to glitches/artifacts in the video.
Basically hardware acceleration is helpful because it can allow...