| 490 | } |
| 491 | |
| 492 | int64_t ff_decklink_packet_queue_peekpts(DecklinkPacketQueue *q) |
| 493 | { |
| 494 | PacketListEntry *pkt1; |
| 495 | int64_t pts = -1; |
| 496 | |
| 497 | pthread_mutex_lock(&q->mutex); |
| 498 | pkt1 = q->pkt_list.head; |
| 499 | if (pkt1) { |
| 500 | pts = pkt1->pkt.pts; |
| 501 | } |
| 502 | pthread_mutex_unlock(&q->mutex); |
| 503 | |
| 504 | return pts; |
| 505 | } |
| 506 | |
| 507 | |
| 508 | int ff_decklink_list_devices(AVFormatContext *avctx, |
no test coverage detected