mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
[feat] use 'const DecodedFrame*' instead of 'const DecodedFrame&' in Decode() method
This commit is contained in:
@@ -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"; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user