X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2FCecSharpTester%2FCecSharpClient.cs;h=37b04e9cf6c759f58f4b7635de0ea925e541b043;hb=95587b956c69ead0b46d301f5ca70e977890c3fd;hp=cc3fb03b7efb0137793db6091da953cdaec67c3f;hpb=5baac2856b8c5615ba764006c76541f40eb8befa;p=deb_libcec.git diff --git a/src/CecSharpTester/CecSharpClient.cs b/src/CecSharpTester/CecSharpClient.cs index cc3fb03..37b04e9 100644 --- a/src/CecSharpTester/CecSharpClient.cs +++ b/src/CecSharpTester/CecSharpClient.cs @@ -43,13 +43,14 @@ namespace CecSharpClient Config = new LibCECConfiguration(); Config.DeviceTypes.Types[0] = CecDeviceType.RecordingDevice; Config.DeviceName = "CEC Tester"; - Config.ClientVersion = CecClientVersion.Version1_6_2; + Config.ClientVersion = CecClientVersion.Version2_0_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)