We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f357c7 commit 3dc20b8Copy full SHA for 3dc20b8
src/torchcodec/_core/CudaDeviceInterface.cpp
@@ -244,7 +244,8 @@ UniqueAVFrame CudaDeviceInterface::maybeConvertAVFrameToNV12(
244
// n5.0. With the earlier version of ffmpeg we have no choice but use CPU
245
// filters. See:
246
// https://github.com/FFmpeg/FFmpeg/commit/62dc5df941f5e196164c151691e4274195523e95
247
- outputFormat = AV_PIX_FMT_RGB24;
+ //outputFormat = AV_PIX_FMT_RGB24;
248
+ outputFormat = AV_PIX_FMT_CUDA;
249
250
/*
251
auto actualFormatName = av_get_pix_fmt_name(actualFormat);
0 commit comments