Commit fce3b7f1 authored by Xavier de Blas's avatar Xavier de Blas

More webcam ffmpeg mac params fixes

parent 62e7e0bd
......@@ -232,10 +232,8 @@ public class WebcamFfmpeg : Webcam
parameters.Insert (i ++, videoDevice);
else if (os == UtilAll.OperatingSystems.WINDOWS)
parameters.Insert (i ++, "video=" + videoDevice);
else { //mac
parameters.Insert (i ++, "-i");
else //mac
parameters.Insert (i ++, videoDevice);
}
parameters.Insert (i ++, "-ss");
parameters.Insert (i ++, "0:0:2");
......@@ -293,10 +291,8 @@ public class WebcamFfmpeg : Webcam
parameters.Insert (i ++, videoDevice);
else if (os == UtilAll.OperatingSystems.WINDOWS)
parameters.Insert (i ++, "video=" + videoDevice);
else { //mac
parameters.Insert (i ++, "-i");
else //mac
parameters.Insert (i ++, videoDevice);
}
parameters.Insert (i ++, Util.GetVideoTempFileName());
......@@ -326,10 +322,8 @@ public class WebcamFfmpeg : Webcam
parameters.Insert (i ++, videoDevice);
else if (os == UtilAll.OperatingSystems.WINDOWS)
parameters.Insert (i ++, "video=" + videoDevice);
else { //mac
parameters.Insert (i ++, "-i");
else //mac
parameters.Insert (i ++, videoDevice);
}
parameters.Insert (i ++, "-map");
parameters.Insert (i ++, "0");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment