| 854 | } |
| 855 | |
| 856 | static int decklink_write_data_packet(AVFormatContext *avctx, AVPacket *pkt) |
| 857 | { |
| 858 | struct decklink_cctx *cctx = (struct decklink_cctx *)avctx->priv_data; |
| 859 | struct decklink_ctx *ctx = (struct decklink_ctx *)cctx->ctx; |
| 860 | |
| 861 | if (ff_decklink_packet_queue_put(&ctx->vanc_queue, pkt) < 0) { |
| 862 | av_log(avctx, AV_LOG_WARNING, "Failed to queue DATA packet\n"); |
| 863 | } |
| 864 | |
| 865 | return 0; |
| 866 | } |
| 867 | |
| 868 | extern "C" { |
| 869 |
no test coverage detected