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

Function decklink_write_subtitle_packet

libavdevice/decklink_enc.cpp:846–854  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

844}
845
846static int decklink_write_subtitle_packet(AVFormatContext *avctx, AVPacket *pkt)
847{
848 struct decklink_cctx *cctx = (struct decklink_cctx *)avctx->priv_data;
849 struct decklink_ctx *ctx = (struct decklink_ctx *)cctx->ctx;
850
851 ff_ccfifo_extractbytes(&ctx->cc_fifo, pkt->data, pkt->size);
852
853 return 0;
854}
855
856static int decklink_write_data_packet(AVFormatContext *avctx, AVPacket *pkt)
857{

Callers 1

ff_decklink_write_packetFunction · 0.85

Calls 1

ff_ccfifo_extractbytesFunction · 0.85

Tested by

no test coverage detected