diff options
author | Thibaut Mattern <thibaut.mattern@gmail.com> | 2008-01-10 00:03:00 +0100 |
---|---|---|
committer | Thibaut Mattern <thibaut.mattern@gmail.com> | 2008-01-10 00:03:00 +0100 |
commit | 52e850144c2764c73ffdc10fc46bae1a921fc445 (patch) | |
tree | 89ac81ff422e1a138691a64842f8395215113a45 | |
parent | 9ba5fcd6a1b4330a443239c0ef4fb5ac21009e60 (diff) | |
download | xine-lib-52e850144c2764c73ffdc10fc46bae1a921fc445.tar.gz xine-lib-52e850144c2764c73ffdc10fc46bae1a921fc445.tar.bz2 |
Added new buffer flag for audio padding.
-rw-r--r-- | src/xine-engine/buffer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xine-engine/buffer.h b/src/xine-engine/buffer.h index 35ab1e620..b8ae1afc3 100644 --- a/src/xine-engine/buffer.h +++ b/src/xine-engine/buffer.h @@ -372,6 +372,13 @@ struct buf_element_s { * decoder_info[2] carries denominator for display aspect ratio */ #define BUF_FLAG_ASPECT 0x0800 +/* Amount of audio padding added by encoder (mp3, aac). These empty + * audio frames are causing a gap when switching between mp3 files. + * decoder_info[1] carries amount of audio frames padded at the + * beginning of the buffer + * decoder_info[2] carries amount of audio frames padded at the end of + * the buffer */ +#define BUF_FLAG_AUDIO_PADDING 0x1000 /* Special buffer types: * Sometimes there is a need to relay special information from a demuxer |