My rule on this is, if your receiver has better DACs' then your BD player, use an optical out from your BD player. This way your receiver will decode the signal.
If your BD player has the better DACs, use the analog out. That way the better DACs are decoding.