From 18a05d269516a5e33d8460291c2f93e73d95adce Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期二, 26 十二月 2023 10:45:31 +0800 Subject: [PATCH] GetYUV format is NV12 --- csrc/common.hpp | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/csrc/common.hpp b/csrc/common.hpp index e2a6064..2495bd5 100644 --- a/csrc/common.hpp +++ b/csrc/common.hpp @@ -8,9 +8,12 @@ class CodedData; } // 缂撳瓨鐨勮棰戝抚 -typedef struct _cache_pkt{ +class CPacket{ +public: std::shared_ptr<ffwrapper::CodedData> data; + int64_t v_id; + int64_t a_id; int64_t id; -}CPacket; +}; #endif \ No newline at end of file -- Gitblit v1.8.0