diff options
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/input_file.c | 28 | ||||
-rw-r--r-- | src/input/input_plugin.h | 5 |
2 files changed, 3 insertions, 30 deletions
diff --git a/src/input/input_file.c b/src/input/input_file.c index e314cf948..42702855e 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.71 2002/12/27 16:47:10 miguelfreitas Exp $ + * $Id: input_file.c,v 1.72 2002/12/29 16:48:34 mroi Exp $ */ #ifdef HAVE_CONFIG_H @@ -71,7 +71,7 @@ typedef struct { static uint32_t file_plugin_get_capabilities (input_plugin_t *this_gen) { - return INPUT_CAP_SEEKABLE | INPUT_CAP_SPULANG; + return INPUT_CAP_SEEKABLE; } @@ -188,30 +188,6 @@ static int file_plugin_get_optional_data (input_plugin_t *this_gen, data_type, this->sub); #endif - switch(data_type) { - case INPUT_OPTIONAL_DATA_TEXTSPU0: - if(this->sub) { - FILE **tmp; - - /* dirty hacks... */ - tmp = data; - *tmp = this->sub; - - return INPUT_OPTIONAL_SUCCESS; - } - break; - - case INPUT_OPTIONAL_DATA_SPULANG: - sprintf(data, "%3s", (this->sub) ? "sub" : "none"); - return INPUT_OPTIONAL_SUCCESS; - break; - - default: - return INPUT_OPTIONAL_UNSUPPORTED; - break; - - } - return INPUT_OPTIONAL_UNSUPPORTED; } diff --git a/src/input/input_plugin.h b/src/input/input_plugin.h index 138fef60d..2bd26461b 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.42 2002/12/21 12:56:47 miguelfreitas Exp $ + * $Id: input_plugin.h,v 1.43 2002/12/29 16:48:35 mroi Exp $ */ #ifndef HAVE_INPUT_PLUGIN_H @@ -253,9 +253,6 @@ struct input_plugin_s { #define INPUT_OPTIONAL_DATA_AUDIOLANG 2 #define INPUT_OPTIONAL_DATA_SPULANG 3 -#define INPUT_OPTIONAL_DATA_TEXTSPU0 4 -#define INPUT_OPTIONAL_DATA_TEXTSPU1 5 -#define INPUT_OPTIONAL_DATA_TEXTSPU2 6 #define INPUT_OPTIONAL_DATA_PREVIEW 7 #define MAX_MRL_ENTRIES 255 |