[chronojump] webcam play file ffplay will exit on finish file
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] webcam play file ffplay will exit on finish file
- Date: Sat, 15 Jun 2019 15:34:18 +0000 (UTC)
commit 110064ea480559cd10872903fc6bfa8d83e0e078
Author: Xavier de Blas <xaviblas gmail com>
Date: Sat Jun 15 17:33:37 2019 +0200
webcam play file ffplay will exit on finish file
src/webcamFfmpeg.cs | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/webcamFfmpeg.cs b/src/webcamFfmpeg.cs
index edb59982..872d2275 100644
--- a/src/webcamFfmpeg.cs
+++ b/src/webcamFfmpeg.cs
@@ -275,9 +275,10 @@ public class WebcamFfmpeg : Webcam
private List<string> createParametersPlayFile(string filename)
{
- // ffplay out.mp4
+ // ffplay -autoexit out.mp4
List<string> parameters = new List<string>();
- parameters.Insert (0, filename);
+ parameters.Insert (0, "-autoexit");
+ parameters.Insert (1, filename);
return parameters;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]