| 444 | } |
| 445 | |
| 446 | static void setNextPts( sync_common_t * common ) |
| 447 | { |
| 448 | int ii; |
| 449 | |
| 450 | for (ii = 0; ii < common->stream_count; ii++) |
| 451 | { |
| 452 | sync_stream_t * stream = &common->streams[ii]; |
| 453 | hb_buffer_t * buf = hb_list_item(stream->in_queue, 0); |
| 454 | if (buf != NULL) |
| 455 | { |
| 456 | stream->next_pts = buf->s.start; |
| 457 | } |
| 458 | else |
| 459 | { |
| 460 | stream->next_pts = (int64_t)AV_NOPTS_VALUE; |
| 461 | } |
| 462 | } |
| 463 | } |
| 464 | |
| 465 | static void alignStream( sync_common_t * common, sync_stream_t * stream, |
| 466 | int64_t pts ) |
no test coverage detected