From c29fb7574e778379f59aeee34647ebdc6ce99afd Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Thu, 9 Jan 2003 02:57:32 +0000 Subject: we must use a much higher wrap threshold for asf than mpeg. i have a asf file with a valid audio pts on every 3 seconds. CVS patchset: 3841 CVS date: 2003/01/09 02:57:32 --- src/demuxers/demux_asf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/demuxers/demux_asf.c b/src/demuxers/demux_asf.c index c495d966a..0b30b5560 100644 --- a/src/demuxers/demux_asf.c +++ b/src/demuxers/demux_asf.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: demux_asf.c,v 1.94 2003/01/08 01:02:27 miguelfreitas Exp $ + * $Id: demux_asf.c,v 1.95 2003/01/09 02:57:32 miguelfreitas Exp $ * * demultiplexer for asf streams * @@ -55,7 +55,7 @@ #define DEFRAG_BUFSIZE 65536 -#define WRAP_THRESHOLD 120000 +#define WRAP_THRESHOLD 5*90000 #define PTS_AUDIO 0 #define PTS_VIDEO 1 @@ -719,7 +719,7 @@ static void check_newpts (demux_asf_t *this, int64_t pts, int video, int frame_e if (pts && (this->send_newpts || (this->last_pts[video] && abs(diff)>WRAP_THRESHOLD)) ) { #ifdef LOG - printf ("demux_asf: sending newpts %lld\n", pts); + printf ("demux_asf: sending newpts %lld (video = %d diff = %lld)\n", pts, video, diff); #endif if (this->buf_flag_seek) { -- cgit v1.2.3