[MacPorts] #68720: ffmpeg6 @6.1_0: error: use of undeclared identifier 'kVTCompressionPropertyKey_EncoderID' (was: ffmpeg6 6.0_4 < 6.1_0 fails to upgrade on mavericks)

MacPorts noreply at macports.org
Fri Nov 17 20:24:15 UTC 2023


#68720: ffmpeg6 @6.1_0: error: use of undeclared identifier
'kVTCompressionPropertyKey_EncoderID'
----------------------+-----------------------
  Reporter:  tehcog   |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.8.1
Resolution:           |   Keywords:  mavericks
      Port:  ffmpeg6  |
----------------------+-----------------------
Changes (by ryandesign):

 * keywords:   => mavericks


Comment:

 {{{
 libavcodec/videotoolboxenc.c:1185:40: error: use of undeclared identifier
 'kVTCompressionPropertyKey_EncoderID'; did you mean
 'kVTCompressionPropertyKey_Depth'?
 kVTCompressionPropertyKey_EncoderID,
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                        kVTCompressionPropertyKey_Depth
 /System/Library/Frameworks/VideoToolbox.framework/Headers/VTCompressionProperties.h:314:29:
 note: 'kVTCompressionPropertyKey_Depth' declared here
 VT_EXPORT const CFStringRef kVTCompressionPropertyKey_Depth
 VT_AVAILABLE_STARTING(10_8); // Read/write, CFNumber (CMPixelFormatType),
 Optional
                             ^
 1 error generated.
 }}}

 Indeed `kVTCompressionPropertyKey_EncoderID` was introduced in macOS
 10.13.

-- 
Ticket URL: <https://trac.macports.org/ticket/68720#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list