fix: fail on hw frame
This commit is contained in:
@ -3,7 +3,6 @@ use ffmpeg_sys_the_third::AVHWDeviceType::{
|
||||
AV_HWDEVICE_TYPE_CUDA, AV_HWDEVICE_TYPE_D3D12VA, AV_HWDEVICE_TYPE_MEDIACODEC,
|
||||
AV_HWDEVICE_TYPE_OPENCL, AV_HWDEVICE_TYPE_VDPAU, AV_HWDEVICE_TYPE_VULKAN,
|
||||
};
|
||||
use ffmpeg_sys_the_third::AVPixelFormat::AV_PIX_FMT_BGR24;
|
||||
use ffmpeg_sys_the_third::{av_frame_free, av_packet_free, AVMediaType};
|
||||
use log::{error, info};
|
||||
use std::env::args;
|
||||
|
Reference in New Issue
Block a user