Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android/player: fix video layout issue and better detection of the scree... #73

Merged
merged 1 commit into from
Sep 17, 2014

Conversation

waninkoko
Copy link

This fixes an issue when setting the video layout before the first video frame is rendered. 'mVideoLayout' was only being set if the video dimensions were known.

Also, the ScreenResolution class from Vitamio has been added to improve the detection of the screen dimensions (without it I was getting black bars at both sides of the screen).

bbcallen added a commit that referenced this pull request Sep 17, 2014
android/player: fix video layout issue and better detection of the scree...
@bbcallen bbcallen merged commit 7b907ee into bilibili:master Sep 17, 2014
@bbcallen
Copy link
Contributor

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants