MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / decklink_write_data_packet

Function decklink_write_data_packet

libavdevice/decklink_enc.cpp:856–866  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

854}
855
856static 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
868extern "C" {
869

Callers 1

ff_decklink_write_packetFunction · 0.85

Calls 2

av_logFunction · 0.85

Tested by

no test coverage detected