Do not set aspect ratio if unknown.
When the size of the video is unknown, PlayerView and StyledPlayerView set the aspect ratio as 1, which could result in wrong view layout. This CL sets the aspect ratio as 0 (unset) to prevent that. This handles Issue: #9189. PiperOrigin-RevId: 385115357
Showing
with
6 additions
and
4 deletions
Please
register
or
sign in
to comment