[chronojump] Webcam: disabled input_format on Linux ffmpeg capture



commit e807b424001ba88c83108992a4ff804d3feef2d6
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Jun 14 14:20:50 2019 +0200

    Webcam: disabled input_format on Linux ffmpeg capture

 src/webcamFfmpeg.cs | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/webcamFfmpeg.cs b/src/webcamFfmpeg.cs
index 519d8858..edb59982 100644
--- a/src/webcamFfmpeg.cs
+++ b/src/webcamFfmpeg.cs
@@ -309,10 +309,12 @@ public class WebcamFfmpeg : Webcam
                else
                        parameters.Insert (i ++, "640x480");
 
+               /* Disabled until we do not detect wich formats are available on the device
                if(os == UtilAll.OperatingSystems.LINUX) {
                        parameters.Insert (i ++, "-input_format");
                        parameters.Insert (i ++, "mjpeg");
                }
+               */
 
                parameters.Insert (i ++, "-i");
                if(os == UtilAll.OperatingSystems.LINUX)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]