From: Michael R. <mr...@us...> - 2002-12-29 16:48:38
|
Update of /cvsroot/xine/xine-lib/src/input In directory sc8-pr-cvs1:/tmp/cvs-serv21122/src/input Modified Files: input_file.c input_plugin.h Log Message: remove old hack for sputext Index: input_file.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/input/input_file.c,v retrieving revision 1.71 retrieving revision 1.72 diff -u -r1.71 -r1.72 --- input_file.c 27 Dec 2002 16:47:10 -0000 1.71 +++ input_file.c 29 Dec 2002 16:48:34 -0000 1.72 @@ -71,7 +71,7 @@ static uint32_t file_plugin_get_capabilities (input_plugin_t *this_gen) { - return INPUT_CAP_SEEKABLE | INPUT_CAP_SPULANG; + return INPUT_CAP_SEEKABLE; } @@ -187,30 +187,6 @@ printf ("input_file: get optional data, type %08x, sub %p\n", 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; } Index: input_plugin.h =================================================================== RCS file: /cvsroot/xine/xine-lib/src/input/input_plugin.h,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- input_plugin.h 21 Dec 2002 12:56:47 -0000 1.42 +++ input_plugin.h 29 Dec 2002 16:48:35 -0000 1.43 @@ -253,9 +253,6 @@ #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 |