#include "media/filters/ffmpeg_glue.h"
#include "base/check_op.h"
#include "base/metrics/histogram_functions.h"
#include "base/no_destructor.h"
#include "base/notreached.h"
#include "base/strings/string_util.h"
#include "base/types/cxx23_to_underlying.h"
#include "media/base/container_names.h"
#include "media/base/media_switches.h"
#include "media/base/supported_types.h"
#include "media/ffmpeg/ffmpeg_common.h"
namespace media {
BASE_FEATURE(…);
BASE_FEATURE(…);
enum { … };
static int AVIOReadOperation(void* opaque, uint8_t* buf, int buf_size) { … }
static int64_t AVIOSeekOperation(void* opaque, int64_t offset, int whence) { … }
static void LogContainer(bool is_local_file,
container_names::MediaContainerName container) { … }
static const char* GetAllowedDemuxers() { … }
FFmpegGlue::FFmpegGlue(FFmpegURLProtocol* protocol) { … }
const char* FFmpegGlue::GetAllowedAudioDecoders() { … }
const char* FFmpegGlue::GetAllowedVideoDecoders() { … }
bool FFmpegGlue::OpenContext(bool is_local_file) { … }
FFmpegGlue::~FFmpegGlue() { … }
}