If you hook up the DVD to the receiver via optical, you don't need to use the 5.1 analog outputs. Did you set up the DVD player correctly? Go into the setup menu and set the sound output to Bitstream, not PCM. Your receiver should then decode the DD or DTS correctly.