summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/mpc_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/mpc_info.h')
-rw-r--r--libmpcodecs/mpc_info.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/libmpcodecs/mpc_info.h b/libmpcodecs/mpc_info.h
new file mode 100644
index 0000000000..1f527dd66d
--- /dev/null
+++ b/libmpcodecs/mpc_info.h
@@ -0,0 +1,27 @@
+
+#ifndef MP_CODEC_INFO_T
+#define MP_CODEC_INFO_T
+typedef struct mp_codec_info_s
+{
+ /* codec long name ("Autodesk FLI/FLC Animation decoder" */
+ const char *name;
+ /* short name (same as driver name in codecs.conf) ("dshow") */
+ const char *short_name;
+ /* codec family: -vfm id */
+ const int id;
+ /* interface author/maintainer */
+ const char *maintainer;
+ /* codec author ("Aaron Holtzman <aholtzma@ess.engr.uvic.ca>") */
+ const char *author;
+ /* any additional comments */
+ const char *comment;
+} mp_codec_info_t;
+
+#define CONTROL_OK 1
+#define CONTROL_TRUE 1
+#define CONTROL_FALSE 0
+#define CONTROL_UNKNOWN -1
+#define CONTROL_ERROR -2
+#define CONTROL_NA -3
+
+#endif