summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/common.h b/common/common.h
index 8edfc96d23..4b7da54dbd 100644
--- a/common/common.h
+++ b/common/common.h
@@ -57,6 +57,13 @@ enum stream_type {
STREAM_TYPE_COUNT,
};
+enum {
+ DATA_OK = 1,
+ DATA_WAIT = 0,
+ DATA_AGAIN = -1,
+ DATA_EOF = -2,
+};
+
extern const char *const mpv_version;
extern const char *const mpv_builddate;