droid: mediacodec, add temp logging
darwin: add missing NDEBUG/_DEBUG flags