Lines Matching defs:pts
37 static int add_crc_to_array(uint32_t crc, int64_t pts)
51 pts_array[number_of_elements] = pts;
56 static int compare_crc_in_array(uint32_t crc, int64_t pts)
60 if (pts_array[i] == pts) {
62 printf("Comparing 0x%08"PRIx32" %"PRId64" %d is OK\n", crc, pts, i);
71 av_log(NULL, AV_LOG_ERROR, "Incorrect pts of a frame after seeking\n");
94 printf("Seeking to %"PRId64", computing crc for frames with pts < %"PRId64"\n", ts_start, ts_end);
112 if (pkt->pts == AV_NOPTS_VALUE) {
113 av_log(NULL, AV_LOG_ERROR, "Error: frames doesn't have pts values\n");
145 if ((!no_seeking) && (fr->pts > ts_end))
148 printf("%10"PRId64", 0x%08"PRIx32"\n", fr->pts, crc);
150 if (add_crc_to_array(crc, fr->pts) < 0)
154 if (compare_crc_in_array(crc, fr->pts) < 0)
159 } while (result >= 0 && (no_seeking || (fr->pts + fr->pkt_duration <= ts_end)));