File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33#include < modules/video_coding/codecs/h264/include/h264.h>
44
55#include < memory>
6+ #include < iostream>
67
78#include " cuda_context.h"
89#include " h264_decoder_impl.h"
@@ -80,9 +81,10 @@ bool NvidiaVideoDecoderFactory::IsSupported() {
8081 // Check if the CUDA context can be initialized.
8182 auto cu_context = std::make_unique<livekit::CudaContext>();
8283 if (!cu_context->Initialize ()) {
83- RTC_LOG ( LS_ERROR ) << " Failed to initialize CUDA context." ;
84+ std::cout << " Failed to initialize CUDA context." << std::endl ;
8485 return false ;
8586 }
87+ std::cout << " Nvidia Decoder is supported." << std::endl;
8688 return true ;
8789}
8890
Original file line number Diff line number Diff line change 11#include " nvidia_encoder_factory.h"
22
33#include < memory>
4+ #include < iostream>
45
56#include " cuda_context.h"
67#include " h264_encoder_impl.h"
@@ -36,7 +37,7 @@ bool NvidiaVideoEncoderFactory::IsSupported() {
3637 return false ;
3738 }
3839
39- std::cout << " Nvidia Codec is supported." << std::endl;
40+ std::cout << " Nvidia Encoder is supported." << std::endl;
4041 return true ;
4142}
4243
You can’t perform that action at this time.
0 commit comments