setVideoScalingMode(...) not work
- Dominant language
- Java
- Stars
- 21.9k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
`setVideoScalingMode(C.VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING)`
`setVideoScalingMode(C.VIDEO_SCALING_MODE_SCALE_TO_FIT)` has no effect
I fork ExoPlayer and modify(https://github.com/nshutov/ExoPlayer):
1 - surfaceView move to FrameLayout. Now surfaceView is fullscreen
2 - I switch setVideoScalingMode each 5 sec
3 - I print ScreenAspect, VideoAspect and VideoScalingMode on screen
I open player with stream WV: Clear SD(MP4:H264)
Result:

Video is streched to fullscreen. No any picture changed when setVideoScalingMode switched(
No crop, No fit, just stretch
Device: Sony BRAVIA 2015 (Android 5.1.1, API 22)
Contributor guide
Assessment
This issue has not been assessed yet.