Added support for creating an SDL texture from a CVPixelBufferRef
This commit is contained in:
@@ -230,8 +230,7 @@ endif()
|
||||
if(FFmpeg_FOUND AND LIBAVUTIL_AVFRAME_HAS_CH_LAYOUT)
|
||||
add_sdl_test_executable(testffmpeg NO_C90 SOURCES testffmpeg.c ${icon_bmp_header})
|
||||
if(APPLE)
|
||||
target_sources(testffmpeg PRIVATE testffmpeg_videotoolbox.m)
|
||||
target_link_options(testffmpeg PRIVATE "-Wl,-framework,CoreFoundation" "-Wl,-framework,CoreVideo" "-Wl,-framework,Metal")
|
||||
target_link_options(testffmpeg PRIVATE "-Wl,-framework,CoreVideo")
|
||||
endif()
|
||||
if(HAVE_OPENGLES_V2)
|
||||
message(DEBUG "Enabling EGL support in testffmpeg")
|
||||
|
||||
Reference in New Issue
Block a user