input_plugin.h | input_plugin.h | |||
---|---|---|---|---|
skipping to change at line 299 | skipping to change at line 299 | |||
#define INPUT_IS_SEEKABLE(input) (((input)->get_capabilities(input) & INPUT _CAP_SEEKABLE) != 0) | #define INPUT_IS_SEEKABLE(input) (((input)->get_capabilities(input) & INPUT _CAP_SEEKABLE) != 0) | |||
#define INPUT_OPTIONAL_UNSUPPORTED 0 | #define INPUT_OPTIONAL_UNSUPPORTED 0 | |||
#define INPUT_OPTIONAL_SUCCESS 1 | #define INPUT_OPTIONAL_SUCCESS 1 | |||
#define INPUT_OPTIONAL_DATA_AUDIOLANG 2 | #define INPUT_OPTIONAL_DATA_AUDIOLANG 2 | |||
#define INPUT_OPTIONAL_DATA_SPULANG 3 | #define INPUT_OPTIONAL_DATA_SPULANG 3 | |||
#define INPUT_OPTIONAL_DATA_PREVIEW 7 | #define INPUT_OPTIONAL_DATA_PREVIEW 7 | |||
/* buffer is a const char **; the string is freed by the input plugin. */ | ||||
#define INPUT_OPTIONAL_DATA_MIME_TYPE 8 | ||||
/* buffer is unused; true if the demuxer should be determined by the MIME t | ||||
ype */ | ||||
#define INPUT_OPTIONAL_DATA_DEMUX_MIME_TYPE 9 | ||||
/* buffer is a const char **; the string is static or freed by the input pl | ||||
ugin. */ | ||||
#define INPUT_OPTIONAL_DATA_DEMUXER 10 | ||||
#define MAX_MRL_ENTRIES 255 | #define MAX_MRL_ENTRIES 255 | |||
#define MAX_PREVIEW_SIZE 4096 | #define MAX_PREVIEW_SIZE 4096 | |||
/* Types of mrls returned by get_dir() */ | /* Types of mrls returned by get_dir() */ | |||
#define mrl_unknown (0 << 0) | #define mrl_unknown (0 << 0) | |||
#define mrl_dvd (1 << 0) | #define mrl_dvd (1 << 0) | |||
#define mrl_vcd (1 << 1) | #define mrl_vcd (1 << 1) | |||
#define mrl_net (1 << 2) | #define mrl_net (1 << 2) | |||
#define mrl_rtp (1 << 3) | #define mrl_rtp (1 << 3) | |||
#define mrl_stdin (1 << 4) | #define mrl_stdin (1 << 4) | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 9 lines changed or added | |||
xine.h | xine.h | |||
---|---|---|---|---|
skipping to change at line 112 | skipping to change at line 112 | |||
const char *xine_get_version_string (void) XINE_PROTECTED; | const char *xine_get_version_string (void) XINE_PROTECTED; | |||
void xine_get_version (int *major, int *minor, int *sub) XINE_PROTECTED; | void xine_get_version (int *major, int *minor, int *sub) XINE_PROTECTED; | |||
/* compare given version to libxine version, | /* compare given version to libxine version, | |||
return 1 if compatible, 0 otherwise */ | return 1 if compatible, 0 otherwise */ | |||
int xine_check_version (int major, int minor, int sub) XINE_PROTECTED; | int xine_check_version (int major, int minor, int sub) XINE_PROTECTED; | |||
/* static info - which libxine release this header came from */ | /* static info - which libxine release this header came from */ | |||
#define XINE_MAJOR_VERSION 1 | #define XINE_MAJOR_VERSION 1 | |||
#define XINE_MINOR_VERSION 1 | #define XINE_MINOR_VERSION 1 | |||
#define XINE_SUB_VERSION 13 | #define XINE_SUB_VERSION 14 | |||
#define XINE_VERSION "1.1.13" | #define XINE_VERSION "1.1.14" | |||
/* | /* | |||
* pre-init the xine engine | * pre-init the xine engine | |||
* | * | |||
* will first malloc and init a xine_t, create an empty config | * will first malloc and init a xine_t, create an empty config | |||
* system, then scan through all installed plugins and add them | * system, then scan through all installed plugins and add them | |||
* to an internal list for later use. | * to an internal list for later use. | |||
* | * | |||
* to fully init the xine engine, you have to load config values | * to fully init the xine engine, you have to load config values | |||
* (either using your own storage method and calling | * (either using your own storage method and calling | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
xineutils.h | xineutils.h | |||
---|---|---|---|---|
skipping to change at line 664 | skipping to change at line 664 | |||
(d) = (char *) alloca(strlen((s)) + 1); \ | (d) = (char *) alloca(strlen((s)) + 1); \ | |||
strcpy((d), (s)); \ | strcpy((d), (s)); \ | |||
} \ | } \ | |||
} while(0) | } while(0) | |||
/* compatibility macros */ | /* compatibility macros */ | |||
#define xine_strpbrk(S, ACCEPT) strpbrk((S), (ACCEPT)) | #define xine_strpbrk(S, ACCEPT) strpbrk((S), (ACCEPT)) | |||
#define xine_strsep(STRINGP, DELIM) strsep((STRINGP), (DELIM)) | #define xine_strsep(STRINGP, DELIM) strsep((STRINGP), (DELIM)) | |||
#define xine_setenv(NAME, VAL, XX) setenv((NAME), (VAL), (XX)) | #define xine_setenv(NAME, VAL, XX) setenv((NAME), (VAL), (XX)) | |||
/** | ||||
* append to a string, reallocating | ||||
* normally, updates & returns *dest | ||||
* on error, *dest is unchanged & NULL is returned. | ||||
*/ | ||||
char *xine_strcat_realloc (char **dest, char *append) XINE_PROTECTED; | ||||
/* | /* | |||
* Color Conversion Utility Functions | * Color Conversion Utility Functions | |||
* The following data structures and functions facilitate the conversion | * The following data structures and functions facilitate the conversion | |||
* of RGB images to packed YUV (YUY2) images. There are also functions to | * of RGB images to packed YUV (YUY2) images. There are also functions to | |||
* convert from YUV9 -> YV12. All of the meaty details are written in | * convert from YUV9 -> YV12. All of the meaty details are written in | |||
* color.c. | * color.c. | |||
*/ | */ | |||
typedef struct yuv_planes_s { | typedef struct yuv_planes_s { | |||
skipping to change at line 956 | skipping to change at line 963 | |||
* guess default encoding for the subtitles | * guess default encoding for the subtitles | |||
*/ | */ | |||
const char *xine_guess_spu_encoding(void) XINE_PROTECTED; | const char *xine_guess_spu_encoding(void) XINE_PROTECTED; | |||
/* | /* | |||
* use the best clock reference (API compatible with gettimeofday) | * use the best clock reference (API compatible with gettimeofday) | |||
* note: it will be a monotonic clock, if available. | * note: it will be a monotonic clock, if available. | |||
*/ | */ | |||
int xine_monotonic_clock(struct timeval *tv, struct timezone *tz) XINE_PROT ECTED; | int xine_monotonic_clock(struct timeval *tv, struct timezone *tz) XINE_PROT ECTED; | |||
/** | ||||
* append to a string, reallocating | ||||
* normally, updates & returns *dest | ||||
* on error, *dest is unchanged & NULL is returned. | ||||
*/ | ||||
char *xine_strcat_realloc (char **dest, char *append) XINE_PROTECTED; | ||||
/* don't harm following code */ | /* don't harm following code */ | |||
#ifdef extern | #ifdef extern | |||
# undef extern | # undef extern | |||
#endif | #endif | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
} | } | |||
#endif | #endif | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
7 lines changed or deleted | 7 lines changed or added | |||