MCPcopy Create free account
hub / github.com/Haivision/srt / ResolveFilePattern

Function ResolveFilePattern

testing/srt-test-multiplex.cpp:218–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216} g_media_base;
217
218string ResolveFilePattern(int number)
219{
220 vector<string> parts;
221 Split(::file_pattern, '%', back_inserter(parts));
222 ostringstream os;
223 os << parts[0];
224 for (auto i = parts.begin()+1; i < parts.end(); ++i)
225 os << number << *i;
226
227 return os.str();
228}
229
230string SelectMedium(string id, bool mode_output)
231{

Callers 1

SelectMediumFunction · 0.85

Calls 4

SplitFunction · 0.85
beginMethod · 0.45
endMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected