diff --git a/modules/javafx.media/src/main/native/jfxmedia/platform/osx/avf/AVFMediaPlayer.mm b/modules/javafx.media/src/main/native/jfxmedia/platform/osx/avf/AVFMediaPlayer.mm index 3389e13fc4..2ea745141e 100644 --- a/modules/javafx.media/src/main/native/jfxmedia/platform/osx/avf/AVFMediaPlayer.mm +++ b/modules/javafx.media/src/main/native/jfxmedia/platform/osx/avf/AVFMediaPlayer.mm @@ -48,12 +48,12 @@ static void *AVFMediaPlayerItemDurationContext = &AVFMediaPlayerItemDurationContext; static void *AVFMediaPlayerItemTracksContext = &AVFMediaPlayerItemTracksContext; -#define FORCE_VO_FORMAT 0 +#define FORCE_VO_FORMAT 1 #if FORCE_VO_FORMAT // #define FORCED_VO_FORMAT kCVPixelFormatType_32BGRA // #define FORCED_VO_FORMAT kCVPixelFormatType_422YpCbCr8 -// #define FORCED_VO_FORMAT kCVPixelFormatType_420YpCbCr8Planar - #define FORCED_VO_FORMAT kCVPixelFormatType_422YpCbCr8_yuvs // Unsupported, use to test fallback + #define FORCED_VO_FORMAT kCVPixelFormatType_420YpCbCr8Planar +// #define FORCED_VO_FORMAT kCVPixelFormatType_422YpCbCr8_yuvs // Unsupported, use to test fallback #endif // Apple really likes to output '2vuy', this should be the least expensive conversion