summaryrefslogtreecommitdiff
path: root/src/input/input_plugin.h
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2008-06-20 02:25:34 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2008-06-20 02:25:34 +0100
commite8d0ebf629763d195cdc6675f952f479bcedb6c7 (patch)
tree9afc99780f0ebdb1b7c9dfed4d75209e8c009018 /src/input/input_plugin.h
parent3bd7a49bfcd82b129333b9433c3b9e21400b6d3c (diff)
downloadxine-lib-e8d0ebf629763d195cdc6675f952f479bcedb6c7.tar.gz
xine-lib-e8d0ebf629763d195cdc6675f952f479bcedb6c7.tar.bz2
Ask the input plugin which demuxer to use.
This overrides the normal content/extension detection, but can be overridden by the user. This is an input plugin API extension; ABI is unchanged. The version is not bumped (we can't bump it due to 1.2).
Diffstat (limited to 'src/input/input_plugin.h')
-rw-r--r--src/input/input_plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input/input_plugin.h b/src/input/input_plugin.h
index ff4c75b29..080e05476 100644
--- a/src/input/input_plugin.h
+++ b/src/input/input_plugin.h
@@ -311,6 +311,8 @@ struct input_plugin_s {
#define INPUT_OPTIONAL_DATA_MIME_TYPE 8
/* buffer is unused; true if the demuxer should be determined by the MIME type */
#define INPUT_OPTIONAL_DATA_DEMUX_MIME_TYPE 9
+/* buffer is a const char **; the string is static or freed by the input plugin. */
+#define INPUT_OPTIONAL_DATA_DEMUXER 10
#define MAX_MRL_ENTRIES 255
#define MAX_PREVIEW_SIZE 4096