|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
| int MayaFlux::IO::FFmpegDemuxContext::find_best_stream | ( | int | media_type, |
| const void ** | out_codec = nullptr |
||
| ) | const |
Find the best stream of the requested media type.
| media_type | AVMediaType value (AVMEDIA_TYPE_AUDIO, AVMEDIA_TYPE_VIDEO, …) |
| out_codec | Receives a pointer to the matched codec (may be nullptr if caller does not need it). |
Definition at line 100 of file FFmpegDemuxContext.cpp.
References format_context.
Referenced by MayaFlux::IO::SoundFileReader::can_read(), MayaFlux::IO::AudioStreamContext::open(), MayaFlux::IO::VideoStreamContext::open(), and MayaFlux::IO::VideoStreamContext::open_device().
Here is the caller graph for this function: