* ogg.c: ogg muxer module for vlc
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
- * $Id: ogg.c,v 1.16 2003/10/09 18:53:01 gbazin Exp $
+ * $Id: ogg.c,v 1.17 2003/10/09 19:31:38 gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com>
sout_buffer_t *p_buf;
p_buf = sout_FifoShow( p_fifo );
- if( p_buf->i_dts ) // To ignore vorbis and theora header packets
if( i_stream < 0 || p_buf->i_dts < i_dts )
{
i_dts = p_buf->i_dts;
* transcode.c
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
- * $Id: transcode.c,v 1.40 2003/10/09 18:53:01 gbazin Exp $
+ * $Id: transcode.c,v 1.41 2003/10/09 19:31:38 gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
p_out->i_size = header[i].bytes;
p_out->i_length = 0;
- p_out->i_dts = p_out->i_pts = 0;
+ p_out->i_dts = p_out->i_pts = id->i_dts;
sout_BufferChain( out, p_out );
}
sout_buffer_t *p_out;
p_out = sout_BufferNew( p_stream->p_sout, p_block->i_buffer );
memcpy( p_out->p_buffer, p_block->p_buffer, p_block->i_buffer);
+ p_out->i_dts = id->i_dts;
+ p_out->i_pts = id->i_dts;
sout_BufferChain( out, p_out );
}