[chronojump] Care on video on raspberry and banana



commit 8edbb19cb0f8553c7b168ac7a889d0fc94044060
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Feb 27 18:42:57 2015 +0100

    Care on video on raspberry and banana

 src/gui/encoder.cs |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index c2f2f61..6db0085 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -319,8 +319,12 @@ public partial class ChronoJumpWindow
                captureCurvesBarsData = new ArrayList(0);
                
                RInitialized = Constants.Status.UNSTARTED;
-       
-               playVideoEncoderInitialSetup();
+
+               try {   
+                       playVideoEncoderInitialSetup();
+               } catch {
+                       //it crashes on Raspberry, Banana
+               }
 
                if(Util.FileExists(Util.GetRFIDMarkFile()))
                        hbox_rfid.Visible = true;


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