summaryrefslogtreecommitdiffstats
path: root/common/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/global.h')
-rw-r--r--common/global.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/global.h b/common/global.h
index 546c585294..e49169bebb 100644
--- a/common/global.h
+++ b/common/global.h
@@ -7,6 +7,9 @@
struct mpv_global {
struct MPOpts *opts;
struct mp_log *log;
+
+ int (*stream_interrupt_cb)(void *ctx);
+ void *stream_interrupt_cb_ctx;
};
#endif