diff options
Diffstat (limited to 'components/include/v4l2_codec2/components/VideoDecoder.h')
-rw-r--r-- | components/include/v4l2_codec2/components/VideoDecoder.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/include/v4l2_codec2/components/VideoDecoder.h b/components/include/v4l2_codec2/components/VideoDecoder.h index 9a48562..c737c65 100644 --- a/components/include/v4l2_codec2/components/VideoDecoder.h +++ b/components/include/v4l2_codec2/components/VideoDecoder.h @@ -26,8 +26,9 @@ public: }; static const char* DecodeStatusToString(DecodeStatus status); - using GetPoolCB = base::RepeatingCallback<std::unique_ptr<VideoFramePool>( - const ui::Size& size, HalPixelFormat pixelFormat, size_t numOutputBuffers)>; + using GetPoolCB = + base::RepeatingCallback<void(std::unique_ptr<VideoFramePool>*, const media::Size& size, + HalPixelFormat pixelFormat, size_t numOutputBuffers)>; using DecodeCB = base::OnceCallback<void(DecodeStatus)>; using OutputCB = base::RepeatingCallback<void(std::unique_ptr<VideoFrame>)>; using ErrorCB = base::RepeatingCallback<void()>; |