From b35d0da3fb4ceec328286851d0e2b316872ab04a Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期四, 10 十月 2019 14:20:55 +0800
Subject: [PATCH] send frame not bgr

---
 csrc/worker/decoder.hpp |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/csrc/worker/decoder.hpp b/csrc/worker/decoder.hpp
index 94bbb03..d157d25 100644
--- a/csrc/worker/decoder.hpp
+++ b/csrc/worker/decoder.hpp
@@ -21,7 +21,11 @@
 namespace cffmpeg_wrap
 {
     typedef struct _frm{
-        AVFrame *frm;
+        uint8_t *data;
+        int length;
+        int width;
+        int height;
+        int format;
         int64_t id;
     }FRM;
 

--
Gitblit v1.8.0