summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Courtier-Dutton <jcdutton@users.sourceforge.net>2003-07-04 14:23:37 +0000
committerJames Courtier-Dutton <jcdutton@users.sourceforge.net>2003-07-04 14:23:37 +0000
commit6704efc6a76c7ea52913940c47a292a9f52da7dc (patch)
tree2cc15d141efa8919af4a20803c02d35a2ba3ad0e
parentc2632718eb750b8c988de94f920a6c2a49fd9a64 (diff)
downloadxine-lib-6704efc6a76c7ea52913940c47a292a9f52da7dc.tar.gz
xine-lib-6704efc6a76c7ea52913940c47a292a9f52da7dc.tar.bz2
Approximate pts values are now sent.
Need to add pts correction code back in and fix bugs in it. CVS patchset: 5130 CVS date: 2003/07/04 14:23:37
-rw-r--r--src/libw32dll/w32codec.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libw32dll/w32codec.c b/src/libw32dll/w32codec.c
index 2bdc7eaac..445f53296 100644
--- a/src/libw32dll/w32codec.c
+++ b/src/libw32dll/w32codec.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: w32codec.c,v 1.122 2003/07/02 23:10:21 jcdutton Exp $
+ * $Id: w32codec.c,v 1.123 2003/07/04 14:23:37 jcdutton Exp $
*
* routines for using w32 codecs
* DirectShow support by Miguel Freitas (Nov/2001)
@@ -1225,7 +1225,9 @@ static void w32a_decode_audio (w32a_decoder_t *this,
HRESULT hr = 0;
int size_read, size_written;
/* DWORD srcsize=0; */
-
+
+ this->pts=pts;
+
if( this->size + size > this->max_audio_src_size ) {
this->max_audio_src_size = this->size + 2 * size;
printf("w32codec: increasing source buffer to %d to avoid overflow.\n",