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

Function decklink_setup_subtitle

libavdevice/decklink_enc.cpp:360–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358}
359
360static int decklink_setup_subtitle(AVFormatContext *avctx, AVStream *st)
361{
362 int ret = -1;
363
364 switch(st->codecpar->codec_id) {
365#if CONFIG_LIBKLVANC
366 case AV_CODEC_ID_EIA_608:
367 /* No special setup required */
368 ret = 0;
369 break;
370#endif
371 default:
372 av_log(avctx, AV_LOG_ERROR, "Unsupported subtitle codec specified\n");
373 break;
374 }
375
376 return ret;
377}
378
379static int decklink_setup_data(AVFormatContext *avctx, AVStream *st)
380{

Callers 1

ff_decklink_write_headerFunction · 0.85

Calls 1

av_logFunction · 0.85

Tested by

no test coverage detected