forked from qt-creator/qt-creator
ScreenRecorder: Remove dead end
Detected by Axivion plugin. Change-Id: I0ebab7a2a64c860b01122f373719dcdaaf81f96a Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -149,23 +149,6 @@ static QVersionNumber parseVersionNumber(const QByteArray &toolOutput)
|
||||
return result;
|
||||
}
|
||||
|
||||
QVersionNumber toolVersion()
|
||||
{
|
||||
Process proc;
|
||||
const CommandLine cl{
|
||||
Internal::settings().ffprobeTool(),
|
||||
{
|
||||
"-v", "quiet",
|
||||
"-print_format", "json",
|
||||
"-show_versions",
|
||||
}
|
||||
};
|
||||
proc.setCommand(cl);
|
||||
proc.runBlocking();
|
||||
const QByteArray output = proc.allRawOutput();
|
||||
return parseVersionNumber(output);
|
||||
}
|
||||
|
||||
static ClipInfo parseClipInfo(const QByteArray &toolOutput)
|
||||
{
|
||||
ClipInfo result;
|
||||
|
@@ -82,7 +82,6 @@ private:
|
||||
|
||||
namespace FFmpegUtils {
|
||||
|
||||
QVersionNumber toolVersion();
|
||||
ClipInfo clipInfo(const Utils::FilePath &path);
|
||||
int parseFrameProgressFromOutput(const QByteArray &output);
|
||||
void sendQuitCommand(Utils::Process *proc);
|
||||
|
Reference in New Issue
Block a user