Searched refs:AVContexts (Results 1 – 1 of 1) sorted by relevance
392 std::vector<SharedAVContext> AVContexts(FormatContext->nb_streams); in DoIndexing() local412 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 …]