From: James Courtier-D. <jcd...@us...> - 2001-11-27 00:00:38
|
Update of /cvsroot/xine/xine-lib/src/libdts In directory usw-pr-cvs1:/tmp/cvs-serv18131/xine-lib/src/libdts Modified Files: xine_decoder.c Log Message: Improve DTS support. Index: xine_decoder.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/libdts/xine_decoder.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- xine_decoder.c 2001/11/16 21:06:21 1.5 +++ xine_decoder.c 2001/11/27 00:00:35 1.6 @@ -108,7 +108,9 @@ 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; |