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

Function decklink_setup_data

libavdevice/decklink_enc.cpp:379–396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377}
378
379static int decklink_setup_data(AVFormatContext *avctx, AVStream *st)
380{
381 int ret = -1;
382
383 switch(st->codecpar->codec_id) {
384#if CONFIG_LIBKLVANC
385 case AV_CODEC_ID_SMPTE_2038:
386 /* No specific setup required */
387 ret = 0;
388 break;
389#endif
390 default:
391 av_log(avctx, AV_LOG_ERROR, "Unsupported data codec specified\n");
392 break;
393 }
394
395 return ret;
396}
397
398av_cold int ff_decklink_write_trailer(AVFormatContext *avctx)
399{

Callers 1

ff_decklink_write_headerFunction · 0.85

Calls 1

av_logFunction · 0.85

Tested by

no test coverage detected