Merge "codecs: correctly determine render to host mode"