diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2010-06-14 22:22:18 +0100 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2010-06-14 22:22:18 +0100 |
commit | 683cd0f89680fdb989e5166cf57ef9d1787c9044 (patch) | |
tree | 560441af7ccfe453f1f2bd752df14cce7ec2f3ed /include | |
parent | 71ea5354dab942e485ba93505990e010f551ad86 (diff) | |
parent | 3da8e08c83e25577c47b0117155b3c36198e0277 (diff) | |
download | xine-lib-683cd0f89680fdb989e5166cf57ef9d1787c9044.tar.gz xine-lib-683cd0f89680fdb989e5166cf57ef9d1787c9044.tar.bz2 |
Merge from 1.1.
--HG--
rename : include/xine.h.in => include/xine.h
rename : po/libxine1.pot => po/libxine2.pot
Diffstat (limited to 'include')
-rw-r--r-- | include/xine.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/xine.h b/include/xine.h index 0783cf117..1d659a9f5 100644 --- a/include/xine.h +++ b/include/xine.h @@ -1665,6 +1665,7 @@ void xine_config_reset (xine_t *self) XINE_PROTECTED; #define XINE_EVENT_DROPPED_FRAMES 12 /* number of dropped frames is too high */ #define XINE_EVENT_MRL_REFERENCE_EXT 13 /* demuxer->frontend: MRL reference(s) for the real stream */ #define XINE_EVENT_AUDIO_AMP_LEVEL 14 /* report current audio amp level (l/r/mute) */ +#define XINE_EVENT_NBC_STATS 15 /* nbc buffer status */ /* input events coming from frontend */ @@ -1850,6 +1851,23 @@ typedef struct { } xine_progress_data_t; /* + * nbc buffer status + */ +typedef struct { + int v_percent; /* fill of video buffer */ + int64_t v_remaining; /* remaining time in ms till underrun */ + int64_t v_bitrate; /* current bitrate */ + int v_in_disc; /* in discontinuity */ + int a_percent; /* like video, but for audio */ + int64_t a_remaining; + int64_t a_bitrate; + int a_in_disc; + int buffering; /* currently filling buffer */ + int enabled; /* buffer disabled by engine */ + int type; /* 0=buffer put, 1=buffer get */ +} xine_nbc_stats_data_t; + +/* * mrl reference data is sent by demuxers when a reference stream is found. * this stream just contains pointers (urls) to the real data, which are * passed to frontend using this event type. (examples: .asx, .mov and .ram) |