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

Rotation flag and options to restrict height/width using source format #2

Merged
merged 4 commits into from
Dec 8, 2023

Conversation

viralauraframes
Copy link
Collaborator

Previously in #1 we did the copy of rotation flag from source to target video using a MediaMetadataRetriever but had ssl problems for some reason.

This PR does the same using the source format that is retrieved by doing a range request by the MediaExtractor.

@@ -140,7 +140,7 @@ public void handleMessage(@NonNull Message message) {
Bundle data = message.getData();
String jobId = data.getString(KEY_JOB_ID);
if (jobId == null) {
throw new IllegalArgumentException("Handler message doesn't contain an id!");
Log.e(TAG, "Handler message doesn't contain an id!");
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to avoid a crash and to still forward the callback

@viralauraframes viralauraframes merged commit f4cfcfc into main Dec 8, 2023
@viralauraframes viralauraframes deleted the rotation_flag_and_options branch December 8, 2023 18:35
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.

1 participant