summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
Diffstat (limited to 'src/input')
-rw-r--r--src/input/input_file.c5
-rw-r--r--src/input/input_plugin.h11
2 files changed, 9 insertions, 7 deletions
diff --git a/src/input/input_file.c b/src/input/input_file.c
index 71a62ca73..be1cd12de 100644
--- a/src/input/input_file.c
+++ b/src/input/input_file.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: input_file.c,v 1.6 2001/04/30 23:07:00 guenter Exp $
+ * $Id: input_file.c,v 1.7 2001/05/03 00:02:42 f1rmb Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -45,7 +45,8 @@ typedef struct file_input_plugin_s {
} file_input_plugin_t;
static uint32_t file_plugin_get_capabilities (input_plugin_t *this_gen) {
- return INPUT_CAP_SEEKABLE;
+#warning "remove AUTOPLAY capability."
+ return INPUT_CAP_SEEKABLE | INPUT_CAP_AUTOPLAY;
}
static int file_plugin_open (input_plugin_t *this_gen, char *mrl) {
diff --git a/src/input/input_plugin.h b/src/input/input_plugin.h
index 6117dd8c2..f944a1127 100644
--- a/src/input/input_plugin.h
+++ b/src/input/input_plugin.h
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: input_plugin.h,v 1.3 2001/04/24 17:42:27 guenter Exp $
+ * $Id: input_plugin.h,v 1.4 2001/05/03 00:02:42 f1rmb Exp $
*/
#ifndef HAVE_INPUT_PLUGIN_H
@@ -162,9 +162,10 @@ struct input_plugin_s
* possible capabilites an input plugin can have:
*/
-#define INPUT_CAP_SEEKABLE 1
-#define INPUT_CAP_BLOCK 2
-#define INPUT_CAP_AUTOPLAY 4
-#define INPUT_CAP_CLUT 8
+#define INPUT_CAP_SEEKABLE 0x00000001
+#define INPUT_CAP_BLOCK 0x00000002
+#define INPUT_CAP_AUTOPLAY 0x00000004
+#define INPUT_CAP_BROWSABLE 0x00000008
+#define INPUT_CAP_CLUT 0x00000010
#endif