Audio Passthrough using TV to convert HDMI to Optical?

@popcornmix
Seems that the Pi2 struggles with some files if:
Allow hardware acceleration (MMAL): enabled.

Found some files that just go choppy with the video for that setting. SD XVID DD2.0.

Seems to work with Software decoding and MMAL option set to disable. I think the default was MMAL enabled for software decoding.

Might just leave decoding to software. Not sure which is better, software or hardware.