#include "h264manager.h"

H264Manager::H264Manager()
{
    encodingParameters = "-c:v libx264 -preset ultrafast -f matroska";
}

#include "h264manager.h"

H264Manager::H264Manager()
{
    encodingParameters = "-c:v libx264 -preset ultrafast -f matroska";
}

void H264Manager::start(QProcess &process, QString file)
{
    QString command = "ffmpeg -re -i \"" + file + "\" -c:v libx264 -preset ultrafast -an -f matroska udp://localhost:" + ENCODED_VIDEO_PORT + " -c:v libx264 -preset ultrafast -an -f matroska udp://localhost:"  + VIDEO_PROBE_PORT;
    process.start(command.toUtf8().constData());
}

--- 
+++ 
@@ -4,9 +4,3 @@
 {
     encodingParameters = "-c:v libx264 -preset ultrafast -f matroska";
 }
-
-void H264Manager::start(QProcess &process, QString file)
-{
-    QString command = "ffmpeg -re -i \"" + file + "\" -c:v libx264 -preset ultrafast -an -f matroska udp://localhost:" + ENCODED_VIDEO_PORT + " -c:v libx264 -preset ultrafast -an -f matroska udp://localhost:"  + VIDEO_PROBE_PORT;
-    process.start(command.toUtf8().constData());
-}
Remove extra functions from codec classes
