ACodec: Fix video autoscaling on old OMX decoders
To enable: TARGET_OMX_LEGACY_RESCALING := true On Android N video autoscaling will cause the video to zoom in, being mostly outside of the frame of the video. This is because android no longer tries to match output ports before putting the new resolution in effect. Exynos OMX decoders send a message to get the new output crop, but it's lost along the way. Similarly to how Android M handles it, send the format change right before transitioning to ExecutingState. Change-Id: I19f974d37f9b11161efc7ee470301f444691fde6 (cherry picked from commit a3daed99)
Loading
Please register or sign in to comment