Commit fe4ef429 authored by conrad's avatar conrad

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


git-svn-id: http://svn.annodex.net/liboggz/trunk@3782 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent 234e68d6
......@@ -342,7 +342,7 @@ read_packet (OGGZ * oggz, ogg_packet * op, long serialno, void * user_data)
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment