diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/xine/xine_internal.h | 2 | ||||
-rw-r--r-- | include/xine/xineutils.h | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/xine/xine_internal.h b/include/xine/xine_internal.h index 7064539ab..9a1ef699c 100644 --- a/include/xine/xine_internal.h +++ b/include/xine/xine_internal.h @@ -520,6 +520,8 @@ int _x_get_spu_channel (xine_stream_t *stream) XINE_PROTECTED; /* sent by dvb frontend to inform ts demuxer of new pids */ #define XINE_EVENT_PIDS_CHANGE 0x80000000 +/* sent by BluRay input plugin to inform ts demuxer about end of clip */ +#define XINE_EVENT_END_OF_CLIP 0x80000001 /* * pids change event - inform ts demuxer of new pids diff --git a/include/xine/xineutils.h b/include/xine/xineutils.h index fa34931ec..e822ccfe8 100644 --- a/include/xine/xineutils.h +++ b/include/xine/xineutils.h @@ -182,6 +182,14 @@ void xine_usec_sleep(unsigned usec) XINE_PROTECTED; char *xine_strcat_realloc (char **dest, char *append) XINE_PROTECTED; /** + * asprintf wrapper + * allocate a string large enough to hold the output, and return a pointer to + * it. This pointer should be passed to free when it is no longer needed. + * return NULL on error. + */ +char *_x_asprintf(const char *format, ...) XINE_PROTECTED XINE_MALLOC XINE_FORMAT_PRINTF(1, 2); + +/** * opens a file, ensuring that the descriptor will be closed * automatically after a fork/execute. */ |