Skip to content

iOS-script issue #128

@Ahmedbutt

Description

@Ahmedbutt

After running script, terminal show following issue:

src/libavcodec/videotoolbox.c:627:14: error:
'VTDecompressionSessionDecodeFrame' is only available on iOS 8.0 or newer
[-Werror,-Wunguarded-availability]
status = VTDecompressionSessionDecodeFrame(videotoolbox->session,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTDecompressionSession.h:184:1: note:
'VTDecompressionSessionDecodeFrame' has been explicitly marked partial
here
VTDecompressionSessionDecodeFrame(
^
src/libavcodec/videotoolbox.c:627:14: note: enclose
'VTDecompressionSessionDecodeFrame' in a __builtin_available check to
silence this warning
status = VTDecompressionSessionDecodeFrame(videotoolbox->session,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libavcodec/videotoolbox.c:633:18: error:
'VTDecompressionSessionWaitForAsynchronousFrames' is only available on iOS
8.0 or newer [-Werror,-Wunguarded-availability]
status = VTDecompressionSessionWaitForAsynchronousFrames(videoto...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTDecompressionSession.h:298:1: note:
'VTDecompressionSessionWaitForAsynchronousFrames' has been explicitly
marked partial here
VTDecompressionSessionWaitForAsynchronousFrames(
^
src/libavcodec/videotoolbox.c:633:18: note: enclose
'VTDecompressionSessionWaitForAsynchronousFrames' in a __builtin_available
check to silence this warning
status = VTDecompressionSessionWaitForAsynchronousFrames(videoto...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libavcodec/videotoolbox.c:817:14: error: 'VTDecompressionSessionCreate' is
only available on iOS 8.0 or newer [-Werror,-Wunguarded-availability]
status = VTDecompressionSessionCreate(NULL, // ...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTDecompressionSession.h:123:1: note:
'VTDecompressionSessionCreate' has been explicitly marked partial here
VTDecompressionSessionCreate(
^
src/libavcodec/videotoolbox.c:817:14: note: enclose
'VTDecompressionSessionCreate' in a __builtin_available check to silence
this warning
status = VTDecompressionSessionCreate(NULL, // ...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libavcodec/videotoolbox.c:862:9: error: 'VTDecompressionSessionInvalidate'
is only available on iOS 8.0 or newer [-Werror,-Wunguarded-availability]
VTDecompressionSessionInvalidate(videotoolbox->session);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTDecompressionSession.h:144:1: note:
'VTDecompressionSessionInvalidate' has been explicitly marked partial here
VTDecompressionSessionInvalidate( CM_NONNULL VTDecompressionSessionRef s...
^
src/libavcodec/videotoolbox.c:862:9: note: enclose
'VTDecompressionSessionInvalidate' in a __builtin_available check to
silence this warning
VTDecompressionSessionInvalidate(videotoolbox->session);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
can anybody help me

Metadata

Metadata

Assignees

No one assigned

    Labels

    FFmpeg issueThis issue is caused by FFmpeg, not this script.question

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions