mirror of
https://github.com/mpv-player/mpv
synced 2024-12-27 01:22:30 +00:00
31adc87bde
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.
14 lines
318 B
C
14 lines
318 B
C
#ifndef MPV_MPV_H
|
|
#define MPV_MPV_H
|
|
|
|
// This should be accessed by glue code only, never normal code.
|
|
// The only purpose of this is to make mpv library-safe.
|
|
// Think hard before adding new members.
|
|
struct mpv_global {
|
|
struct MPOpts *opts;
|
|
struct mp_log *log;
|
|
struct mp_client_api *client_api;
|
|
};
|
|
|
|
#endif
|