From 31adc87bde5d7d671b9b52cd912875d037501a1c Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 15 Jan 2016 22:49:10 +0100 Subject: global: add client API pointer to library handle Makes the next commit simpler. It's probably a bad idea to add more fields to the global state, but on the other hand the client API state is pretty much per-instance anyway. It also will help with things like the proposed libmpv custom stream API. --- common/global.h | 1 + 1 file changed, 1 insertion(+) (limited to 'common') diff --git a/common/global.h b/common/global.h index 546c585294..fb70b4ff01 100644 --- a/common/global.h +++ b/common/global.h @@ -7,6 +7,7 @@ struct mpv_global { struct MPOpts *opts; struct mp_log *log; + struct mp_client_api *client_api; }; #endif -- cgit v1.2.3