mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
[fix] use DecodedFrame ptr in decoding process
This commit is contained in:
@@ -24,6 +24,7 @@ class NvidiaVideoDecoder : public VideoDecoder {
|
||||
NvDecoder* decoder = nullptr;
|
||||
CUcontext cuda_context_ = NULL;
|
||||
CUdevice cuda_device_ = 0;
|
||||
DecodedFrame* decoded_frame_ = nullptr;
|
||||
bool get_first_keyframe_ = false;
|
||||
bool skip_frame_ = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user