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 6668f4b commit 9f357c7Copy full SHA for 9f357c7
src/torchcodec/_core/CudaDeviceInterface.cpp
@@ -254,7 +254,7 @@ UniqueAVFrame CudaDeviceInterface::maybeConvertAVFrameToNV12(
254
"That's unexpected, please report this to the TorchCodec repo.");
255
256
*/
257
- filters << "hwdownload,format=rgb24";
+ filters << "hwupload,format=nv12";
258
} else {
259
// Actual output color format will be set via filter options
260
outputFormat = AV_PIX_FMT_CUDA;
0 commit comments