summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
Diffstat (limited to 'src/input')
-rw-r--r--src/input/input_cda.c4
-rw-r--r--src/input/input_dvd.c4
-rw-r--r--src/input/input_file.c4
-rw-r--r--src/input/input_plugin.h3
-rw-r--r--src/input/input_vcd.c4
5 files changed, 10 insertions, 9 deletions
diff --git a/src/input/input_cda.c b/src/input/input_cda.c
index b76416e12..bdf2a881b 100644
--- a/src/input/input_cda.c
+++ b/src/input/input_cda.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_cda.c,v 1.18 2002/03/24 01:37:41 f1rmb Exp $
+ * $Id: input_cda.c,v 1.19 2002/04/11 22:27:11 jcdutton Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -1546,7 +1546,7 @@ static uint32_t cda_plugin_get_capabilities (input_plugin_t *this_gen) {
_ENTER_FUNC();
_LEAVE_FUNC();
- return INPUT_CAP_SEEKABLE | INPUT_CAP_AUTOPLAY | INPUT_CAP_GET_DIR;
+ return INPUT_CAP_SEEKABLE | INPUT_CAP_PREVIEW | INPUT_CAP_AUTOPLAY | INPUT_CAP_GET_DIR;
}
/*
diff --git a/src/input/input_dvd.c b/src/input/input_dvd.c
index 9dfabe073..739d5e173 100644
--- a/src/input/input_dvd.c
+++ b/src/input/input_dvd.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_dvd.c,v 1.43 2002/02/17 17:32:50 guenter Exp $
+ * $Id: input_dvd.c,v 1.44 2002/04/11 22:27:11 jcdutton Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -370,7 +370,7 @@ static int openDVDFile (dvd_input_plugin_t *this,
*
*/
static uint32_t dvd_plugin_get_capabilities (input_plugin_t *this) {
- return INPUT_CAP_SEEKABLE | INPUT_CAP_BLOCK | INPUT_CAP_AUTOPLAY | INPUT_CAP_GET_DIR;
+ return INPUT_CAP_SEEKABLE | INPUT_CAP_PREVIEW | INPUT_CAP_BLOCK | INPUT_CAP_AUTOPLAY | INPUT_CAP_GET_DIR;
}
/*
diff --git a/src/input/input_file.c b/src/input/input_file.c
index 4eb9a7c9f..8e844e6df 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.41 2002/03/25 22:55:42 f1rmb Exp $
+ * $Id: input_file.c,v 1.42 2002/04/11 22:27:11 jcdutton Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -266,7 +266,7 @@ static off_t get_file_size(char *filepathname, char *origin) {
*/
static uint32_t file_plugin_get_capabilities (input_plugin_t *this_gen) {
- return INPUT_CAP_SEEKABLE | INPUT_CAP_GET_DIR | INPUT_CAP_SPULANG;
+ return INPUT_CAP_SEEKABLE | INPUT_CAP_PREVIEW | INPUT_CAP_GET_DIR | INPUT_CAP_SPULANG;
}
/*
diff --git a/src/input/input_plugin.h b/src/input/input_plugin.h
index 7406b87e3..703b959e3 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.21 2002/03/16 20:53:50 guenter Exp $
+ * $Id: input_plugin.h,v 1.22 2002/04/11 22:27:11 jcdutton Exp $
*/
#ifndef HAVE_INPUT_PLUGIN_H
@@ -288,6 +288,7 @@ struct input_plugin_s
#define INPUT_CAP_AUDIOLANG 0x00000040
#define INPUT_CAP_SPULANG 0x00000080
#define INPUT_CAP_VARIABLE_BITRATE 0x00000100
+#define INPUT_CAP_PREVIEW 0x00000200 /* Requires INPUT_CAP_SEEKABLE */
#define INPUT_OPTIONAL_UNSUPPORTED 0
diff --git a/src/input/input_vcd.c b/src/input/input_vcd.c
index 8d94a771d..d328d4031 100644
--- a/src/input/input_vcd.c
+++ b/src/input/input_vcd.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_vcd.c,v 1.37 2002/02/17 17:32:50 guenter Exp $
+ * $Id: input_vcd.c,v 1.38 2002/04/11 22:27:12 jcdutton Exp $
*
*/
@@ -859,7 +859,7 @@ static off_t vcd_plugin_get_current_pos (input_plugin_t *this_gen){
*/
static uint32_t vcd_plugin_get_capabilities (input_plugin_t *this_gen) {
- return INPUT_CAP_SEEKABLE | INPUT_CAP_BLOCK | INPUT_CAP_AUTOPLAY | INPUT_CAP_GET_DIR;
+ return INPUT_CAP_SEEKABLE | INPUT_CAP_PREVIEW | INPUT_CAP_BLOCK | INPUT_CAP_AUTOPLAY | INPUT_CAP_GET_DIR;
}
/*