[xiph-commits] r3782 - liboggz/trunk/src/tools
conrad at svn.annodex.net
conrad at svn.annodex.net
Fri Nov 14 13:45:07 PST 2008
Author: conrad
Date: 2008-11-14 13:45:06 -0800 (Fri, 14 Nov 2008)
New Revision: 3782
Modified:
liboggz/trunk/src/tools/oggz-validate.c
Log:
oggz-validate: do not take the timestamp of Dirac packets into account when
checking packet ordering.
See: http://lists.xiph.org/pipermail/ogg-dev/2008-November/001264.html
Modified: liboggz/trunk/src/tools/oggz-validate.c
===================================================================
--- liboggz/trunk/src/tools/oggz-validate.c 2008-11-14 21:15:41 UTC (rev 3781)
+++ liboggz/trunk/src/tools/oggz-validate.c 2008-11-14 21:45:06 UTC (rev 3782)
@@ -342,7 +342,7 @@
int ret = 0, feed_err = 0, i;
timestamp = gp_to_time (oggz, serialno, op->granulepos);
- if (timestamp != -1.0) {
+ if (timestamp != -1.0 && oggz_stream_get_content (oggz, serialno) != OGGZ_CONTENT_DIRAC) {
if (timestamp < current_timestamp) {
ret = log_error();
ot_fprint_time (stderr, (double)timestamp/SUBSECONDS);
More information about the commits
mailing list