summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-01-09 02:57:32 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-01-09 02:57:32 +0000
commitc29fb7574e778379f59aeee34647ebdc6ce99afd (patch)
tree2be948c09b141480c14d892817ba26a24a468e79 /src
parent7dc6d51bb322a864c3cca05ae712aa8022053e90 (diff)
downloadxine-lib-c29fb7574e778379f59aeee34647ebdc6ce99afd.tar.gz
xine-lib-c29fb7574e778379f59aeee34647ebdc6ce99afd.tar.bz2
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
Diffstat (limited to 'src')
-rw-r--r--src/demuxers/demux_asf.c6
1 files changed, 3 insertions, 3 deletions
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) {