mediacodec: Use the input aspect ratio when sizing the direct rendering surface