From b897bf1e118e69764da20ef6668ef5d9ec1653e8 Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期四, 25 五月 2023 09:33:38 +0800 Subject: [PATCH] 增加监视结束国际化 --- Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/msvideo.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/msvideo.h b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/msvideo.h index 59eada5..dc956ae 100755 --- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/msvideo.h +++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/msvideo.h @@ -272,6 +272,11 @@ const uint8_t *srcbuf, int srclsz, MSVideoSize roi); MS2_PUBLIC MSYuvBufAllocator *ms_yuv_buf_allocator_new(void); +/* Set a maximum number of frames mananaged by the YuvBufAllocator. + * Only frames satisfying the w / h size request are counted. + */ +MS2_PUBLIC void ms_yuv_buf_allocator_set_max_frames(MSYuvBufAllocator *obj, int max_frames); +MS2_PUBLIC mblk_t *ms_yuv_allocator_get(MSYuvBufAllocator *obj, int size, int w, int h); MS2_PUBLIC mblk_t *ms_yuv_buf_allocator_get(MSYuvBufAllocator *obj, MSPicture *buf, int w, int h); MS2_PUBLIC void ms_yuv_buf_allocator_free(MSYuvBufAllocator *obj); -- Gitblit v1.8.0