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

Revert "fetchFullSizeVideo will cause a loop and return file path before export session process done." #485

Merged
merged 1 commit into from
Apr 27, 2021

Conversation

CaiJingLong
Copy link
Member

@CaiJingLong CaiJingLong commented Apr 27, 2021

Reverts #478

Not compatible with macOS.

Related #484 .

@CaiJingLong
Copy link
Member Author

Except for PMImageUtil, UIImage/NSImage should not appear in the code, PMImage should be used instead.

The define of PMImage:

#if TARGET_OS_IOS
typedef UIImage PMImage;
#endif

#if TARGET_OS_OSX
typedef NSImage PMImage;
#endif

If we want to convert the PMImage to NSData, use the [PMImageUtil convertToData] to do it.

@CaiJingLong CaiJingLong merged commit 997edac into master Apr 27, 2021
@CaiJingLong CaiJingLong linked an issue May 6, 2021 that may be closed by this pull request
@JimmyTai
Copy link

Sorry about PR #478 . I will try to use PMImage instead of UIImage and check the MacOS compatibility again.

@AlexV525 AlexV525 deleted the revert-478-fix-video-size-keep-changing branch July 14, 2021 06:16
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.

[BUG] Cannot build for platform macos
2 participants