diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-12-29 16:48:34 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-12-29 16:48:34 +0000 |
commit | 182d528760cba355dfc35c9e8e27651c30e6fb76 (patch) | |
tree | 93230b4a3707dcf02132b9f50ed77ecb0399f229 /src/input/input_file.c | |
parent | c9c60f8835bd8921c28be6faa8c8ee03d2118d8f (diff) | |
download | xine-lib-182d528760cba355dfc35c9e8e27651c30e6fb76.tar.gz xine-lib-182d528760cba355dfc35c9e8e27651c30e6fb76.tar.bz2 |
remove old hack for sputext
CVS patchset: 3719
CVS date: 2002/12/29 16:48:34
Diffstat (limited to 'src/input/input_file.c')
-rw-r--r-- | src/input/input_file.c | 28 |
1 files changed, 2 insertions, 26 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; } |