bump to libCEC v2.1.0. closes #125
[deb_libcec.git] / src / CecSharpTester / CecSharpClient.cs
index 216382377e59744f2239769c4ea20ffeb9e21fc2..16f7774b8488c71124a70431379e6b025d7c1b62 100644 (file)
@@ -43,13 +43,14 @@ namespace CecSharpClient
       Config = new LibCECConfiguration();
       Config.DeviceTypes.Types[0] = CecDeviceType.RecordingDevice;
       Config.DeviceName = "CEC Tester";
-      Config.ClientVersion = CecClientVersion.Version1_6_1;
+      Config.ClientVersion = CecClientVersion.Version2_1_0;
       Config.SetCallbacks(this);
       LogLevel = (int)CecLogLevel.All;
 
       Lib = new LibCecSharp(Config);
+      Lib.InitVideoStandalone();
 
-      Console.WriteLine("CEC Parser created - libcec version " + Lib.ToString(Config.ServerVersion));
+      Console.WriteLine("CEC Parser created - libCEC version " + Lib.ToString(Config.ServerVersion));
     }
 
     public override int ReceiveCommand(CecCommand command)