summaryrefslogtreecommitdiff
path: root/src/libdts
diff options
context:
space:
mode:
authorJames Courtier-Dutton <jcdutton@users.sourceforge.net>2001-11-27 00:00:34 +0000
committerJames Courtier-Dutton <jcdutton@users.sourceforge.net>2001-11-27 00:00:34 +0000
commit8c189f8457736c655a1d70cc974526b0e9d990f2 (patch)
treec24b06e65e70dda0becbb43e29b9f8e2c0349d3f /src/libdts
parentb7b51c776e50ea0723d0f4967cbf5d3cb7bccdb4 (diff)
downloadxine-lib-8c189f8457736c655a1d70cc974526b0e9d990f2.tar.gz
xine-lib-8c189f8457736c655a1d70cc974526b0e9d990f2.tar.bz2
Improve DTS support.
CVS patchset: 1121 CVS date: 2001/11/27 00:00:34
Diffstat (limited to 'src/libdts')
-rw-r--r--src/libdts/xine_decoder.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libdts/xine_decoder.c b/src/libdts/xine_decoder.c
index 877424b38..7fbc6d499 100644
--- a/src/libdts/xine_decoder.c
+++ b/src/libdts/xine_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_decoder.c,v 1.5 2001/11/16 21:06:21 jcdutton Exp $
+ * $Id: xine_decoder.c,v 1.6 2001/11/27 00:00:35 jcdutton Exp $
*
* 04-09-2001 DTS passtrough (C) Joachim Koenig
*
@@ -108,7 +108,9 @@ void dts_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) {
audio_buffer = this->audio_out->get_buffer (this->audio_out);
memcpy (audio_buffer->mem, data, ac5_length);
-
+
+ audio_buffer->frame_header_count = buf->decoder_info[1]; /* Number of frames */
+ audio_buffer->first_access_unit = buf->decoder_info[2]; /* First access unit */
audio_buffer->vpts = buf->PTS;
audio_buffer->scr = buf->SCR;
audio_buffer->num_frames = ac5_length / 2;