MCPcopy Create free account
hub / github.com/MusicPlayerDaemon/MPD / ffmpeg_scan_stream

Function ffmpeg_scan_stream

src/decoder/plugins/FfmpegDecoderPlugin.cxx:651–660  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

649}
650
651static bool
652ffmpeg_scan_stream(InputStream &is, TagHandler &handler)
653{
654 AvioStream stream(nullptr, is);
655 if (!stream.Open())
656 return false;
657
658 auto f = FfmpegOpenInput(stream.io, is.GetURI(), nullptr);
659 return FfmpegScanStream(*f, handler);
660}
661
662static void
663ffmpeg_uri_decode(DecoderClient &client, const char *uri)

Callers

nothing calls this directly

Calls 4

FfmpegOpenInputFunction · 0.85
FfmpegScanStreamFunction · 0.85
OpenMethod · 0.45
GetURIMethod · 0.45

Tested by

no test coverage detected