MCPcopy Create free account
hub / github.com/FFMS/ffms2 / GetTrackCodec

Method GetTrackCodec

src/core/indexing.cpp:429–432  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427}
428
429const char *FFMS_Indexer::GetTrackCodec(int Track) {
430 auto *codec = avcodec_find_decoder(FormatContext->streams[Track]->codecpar->codec_id);
431 return codec ? codec->name : nullptr;
432}
433
434FFMS_Index *FFMS_Indexer::DoIndexing() {
435 std::vector<SharedAVContext> AVContexts(FormatContext->nb_streams);

Callers 1

FFMS_GetCodecNameIFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected