Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@brarcher
Copy link
Owner

A few fixes in the UI:

  • ignore video bitrate for GIF
  • hide custom video resolution if not needed

as well as adding robolectric unit tests for the main activity

Gradle now places the compiled class file under a different path.
The FFmpeg service needs to be mocked out, which requires
mocking a static method. The PowerMock framework supports this.
This is so that unit test can access these.
When the media container was changed it resulted in the
custom video resolution option appearing. However, this should
only appear if the video resolution is set to 'custom'.
Previously if the video bitrate was invalid encoding to GIF
would be rejected. The video bitrate is not used for
GIF, so it can be safely ignored.
@brarcher brarcher merged commit 8167ff4 into master Oct 23, 2018
@brarcher brarcher deleted the ui-fixes branch October 23, 2018 05:13
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.

2 participants