From eed06cf1de692b1f21dcaec5adebe4863d4cdd0c Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Thu, 19 Sep 2002 02:00:26 +0000 Subject: some ogg/vorbis streams seem to require a higher treshold CVS patchset: 2702 CVS date: 2002/09/19 02:00:26 --- src/demuxers/demux_ogg.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/demuxers/demux_ogg.c b/src/demuxers/demux_ogg.c index c689ac901..f13920559 100644 --- a/src/demuxers/demux_ogg.c +++ b/src/demuxers/demux_ogg.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_ogg.c,v 1.43 2002/09/18 22:12:17 guenter Exp $ + * $Id: demux_ogg.c,v 1.44 2002/09/19 02:00:26 guenter Exp $ * * demultiplexer for ogg streams * @@ -59,7 +59,7 @@ #define PTS_AUDIO 0 #define PTS_VIDEO 1 -#define WRAP_THRESHOLD 120000 +#define WRAP_THRESHOLD 220000 #define VALID_ENDS "ogg,ogm" @@ -166,6 +166,8 @@ static void check_newpts (demux_ogg_t *this, int64_t pts, int video, int preview if (!preview && pts && (this->send_newpts || (this->last_pts[video] && abs(diff)>WRAP_THRESHOLD) ) ) { + printf ("demux_ogg: diff=%lld\n", diff); + if (this->buf_flag_seek) { xine_demux_control_newpts(this->xine, pts, BUF_FLAG_SEEK); this->buf_flag_seek = 0; -- cgit v1.2.3