提交 5f95b705 编写于 作者: X Xinzheng Zhang

ijkioapplication: pass through event to upper layer

上级 58c5207e
......@@ -3437,7 +3437,7 @@ static int ijkio_app_func_event(IjkIOApplicationContext *h, int message ,void *d
ffp->stat.cache_count_bytes = statistic->cache_count_bytes;
}
return 0;
return inject_callback(ffp->inject_opaque, IJKIOAPP_EVENT_CACHE_STATISTIC, data, size);
}
void *ffp_set_ijkio_inject_opaque(FFPlayer *ffp, void *opaque)
......
......@@ -27,7 +27,7 @@
#include <stdint.h>
#define CACHE_FILE_PATH_MAX_LEN 512
#define IJKIOAPP_EVENT_CACHE_STATISTIC 0x1003 //IJKIOAppCacheStatistic
#define IJKIOAPP_EVENT_CACHE_STATISTIC 0x1003 //IJKIOAppCacheStatistic share with avutil/application.h
typedef struct IjkIOAppCacheStatistic {
int64_t cache_physical_pos;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册