Home
last modified time | relevance | path

Searched refs:AVContexts (Results 1 – 1 of 1) sorted by relevance

/dports/multimedia/ffms2/ffms2-2.40/src/core/
H A Dindexing.cpp392 std::vector<SharedAVContext> AVContexts(FormatContext->nb_streams); in DoIndexing() local
412 AVContexts[i].CodecContext = avcodec_alloc_context3(VideoCodec); in DoIndexing()
413 if (AVContexts[i].CodecContext == nullptr) in DoIndexing()
421 if (avcodec_open2(AVContexts[i].CodecContext, VideoCodec, nullptr) < 0) in DoIndexing()
426 if (AVContexts[i].Parser) in DoIndexing()
427 AVContexts[i].Parser->flags = PARSER_FLAG_COMPLETE_FRAMES; in DoIndexing()
441 AVContexts[i].CodecContext = avcodec_alloc_context3(AudioCodec); in DoIndexing()
442 if (AVContexts[i].CodecContext == nullptr) in DoIndexing()
524 int64_t StartSample = AVContexts[Track].CurrentSample; in DoIndexing()
526 TrackInfo.SampleRate = AVContexts[Track].CodecContext->sample_rate; in DoIndexing()
[all …]