[feat] use 'const DecodedFrame*' instead of 'const DecodedFrame&' in Decode() method

This commit is contained in:
dijunkun
2025-04-25 17:30:29 +08:00
parent ab74361fd3
commit 1a34c6bc1d
10 changed files with 22 additions and 22 deletions

View File

@@ -25,7 +25,7 @@ class OpenH264Decoder : public VideoDecoder {
int Init();
int Decode(std::unique_ptr<ReceivedFrame> received_frame,
std::function<void(const DecodedFrame&)> on_receive_decoded_frame);
std::function<void(const DecodedFrame*)> on_receive_decoded_frame);
std::string GetDecoderName() { return "OpenH264"; }