Post not yet marked as solved
Post marked as unsolved with 0 replies, 171 views
VTDecompressionSessionCreate fails if instantiated with predefined constant - kVTVideoDecoderSpecification_RequireHardwareAcceleratedVideoDecoder. However it is succeeded if replaced with literal - CFSTR( "RequireHardwareAcceleratedVideoDecoder" ). Literally they have same value. Sample data (sps and pps) identical for both cases.
Could you help please?
Build command:
clang -x objective-c -target x86_64-apple-macos10.14 -framework Foundation -framework CoreMedia -framework VideoToolbox -o vt main.m
main.m