MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / SetVideoPath

Method SetVideoPath

Src/ParameterCompone/ParameterRecord.cpp:240–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240int CParameterRecord::SetVideoPath(const QString &szPath)
241{
242 if(m_szVideoPath == szPath)
243 return 0;
244 m_szVideoPath = szPath;
245 SetModified(true);
246 QDir d(m_szVideoPath);
247 if(!d.exists())
248 d.mkpath(m_szVideoPath);
249 return 0;
250}
251
252#if HAVE_QT6_MULTIMEDIA
253const QMediaFormat::FileFormat CParameterRecord::GetFileFormat() const

Callers 1

AcceptMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected