Camera C922 not working no more

So i was playing emulator mesen, i restart the emulator and the camera flickers (lights) now everytime i try to use my c922 as source i got a framework error stating the underlined. I can use other sources with the same cam, but using c922 as source does not work, what could be wrong?
EDIT: Even when i use Vcam, i can use it in vcam, but using vcam as source also gives me the error

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidCastException: Specified cast is not valid.
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at XSplit.ControlLibrary.Extensions.ConcurrencyUtils.MessagePumpThread.Invoke(Delegate method, Object[] args)
at A.NJ.A(BroadcasterWrapper Q, String R, String Z, IXSplitBroadcasterVideoItem J, String D, String N, String& F)
at A.NJ.S(GZ Q, BroadcasterWrapper R, String Z, String J, IXSplitBroadcasterVideoItem D, Nullable1 N) at A.NJ.HZ.F(IXSplitBroadcasterVideoItem Q) at A.HJ.F(BroadcasterWrapper Q, String R, Action1 Z)
at A.NJ.E(BroadcasterWrapper Q, String R, String Z, IXSplitBroadcasterVideoItem J, Nullable1 D) at A.NJ.K(BroadcasterWrapper Q, XmlNode R) at XSplit.Core.XSplitBroadcaster.DKZ(XmlNode Q) at A.HJ.Q(XmlDocument Q, String R, String Z, List1& J, Action1 D) at A.HJ.Q(BroadcasterWrapper Q, String R, String Z, List1& J, Action`1 D)
at XSplit.Core.XSplitBroadcaster.JKZ()

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4420.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

XSplit.Core
Assembly Version: 4.2.2109.2902
Win32 Version: 4.2.2109.2902
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/XSplit.Core.exe

XSplit.CommonUtils
Assembly Version: 4.2.2108.2601
Win32 Version: 4.2.2108.2601
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/XSplit.CommonUtils.DLL

XSplit.ControlLibrary
Assembly Version: 4.2.2109.2201
Win32 Version: 4.2.2109.2201
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/XSplit.ControlLibrary.DLL

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4400.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4360.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

XSplit.AddinHostUtils
Assembly Version: 4.2.2109.2902
Win32 Version: 4.2.2109.2902
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/XSplit.AddinHostUtils.DLL

Interop.CefCOMLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/Interop.CefCOMLib.DLL

System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

XSplit.Localization
Assembly Version: 4.2.2109.2902
Win32 Version: 4.2.2109.2902
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/XSplit.Localization.DLL

XSplitRegSrc64
Assembly Version: 4.2.2109.2902
Win32 Version: 4.2.2109.2902
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/XSplitRegSrc64.EXE

SplitMediaLabs.Xsplit.AddinFramework
Assembly Version: 4.2.2109.2902
Win32 Version: 4.2.2109.2902
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/SplitMediaLabs.Xsplit.AddinFramework.DLL

SharpRaven
Assembly Version: 2.4.0.0
Win32 Version: 2.4.0.0
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/SharpRaven.DLL

XSplit.CommonUtils.Exception
Assembly Version: 4.1.2101.2801
Win32 Version: 4.1.2101.2801
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/XSplit.CommonUtils.Exception.DLL

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4250.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

System.Web.Extensions
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4330.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Web.Extensions/v4.0_4.0.0.0__31bf3856ad364e35/System.Web.Extensions.dll

System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4330.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll

System.Management
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4435.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll

XSplit.Core.XmlSerializers
Assembly Version: 4.2.2109.2902
Win32 Version: 4.2.2109.2902
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/XSplit.Core.XmlSerializers.DLL

System.Web.Services
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Web.Services/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

SMDiagnostics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4250.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll

System.ServiceModel.Internals
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4250.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll

vtRCM
Assembly Version: 4.2.2109.101
Win32 Version: 4.2.2109.0101
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/vtRCM.DLL

Interop.VHMediaCOMLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/Interop.VHMediaCOMLib.DLL

WindowsBase
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll

System.Data.SQLite
Assembly Version: 1.0.87.0
Win32 Version: 1.0.87.0
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/System.Data.SQLite.DLL

System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

System.Transactions
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll

GoogleServicesAPI
Assembly Version: 4.1.2105.1901
Win32 Version: 4.1.2105.1901
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/GoogleServicesAPI.DLL

System.Net.Http
Assembly Version: 2.2.29.0
Win32 Version: 2.2.29.0
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/System.Net.Http.DLL

AxShockwaveFlashObjects
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/AxShockwaveFlashObjects.DLL

Interop.XSplitBroadcasterLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/Interop.XSplitBroadcasterLib.DLL

System.EnterpriseServices
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

XSplit_Plugin_Installer
Assembly Version: 4.2.2109.2902
Win32 Version: 4.2.2109.2902
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/XSplit_Plugin_Installer.EXE

DirectShowLib-2005
Assembly Version: 2.1.0.31494
Win32 Version: 2.1.0.31494
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/DirectShowLib-2005.DLL

CustomRTMP
Assembly Version: 4.0.2007.1501
Win32 Version: 4.0.2007.1501
CodeBase: file:///C:/Users/reetk/AppData/Local/XSplit/Broadcaster/alain.wolfs@gmail.com/BroadcastPlugins/CustomRTMP/CustomRTMP.dll

System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll

FacebookLive
Assembly Version: 4.0.2009.101
Win32 Version: 4.0.2009.0101
CodeBase: file:///C:/Users/reetk/AppData/Local/XSplit/Broadcaster/alain.wolfs@gmail.com/BroadcastPlugins/FacebookLive/FacebookLive.dll

SplitMediaLabs.StreamingSdk
Assembly Version: 4.2.2109.2902
Win32 Version: 4.2.2109.2902
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/SplitMediaLabs.StreamingSdk.DLL

LocalStreaming
Assembly Version: 4.0.2001.3001
Win32 Version: 4.0.2001.3001
CodeBase: file:///C:/Users/reetk/AppData/Local/XSplit/Broadcaster/alain.wolfs@gmail.com/BroadcastPlugins/LocalStreaming/LocalStreaming.dll

Restream
Assembly Version: 4.0.2002.2701
Win32 Version: 4.0.2002.2701
CodeBase: file:///C:/Users/reetk/AppData/Local/XSplit/Broadcaster/alain.wolfs@gmail.com/BroadcastPlugins/Restream/Restream.dll

SplitMediaLabs.LocalRecording
Assembly Version: 4.1.2011.2301
Win32 Version: 4.1.2011.2301
CodeBase: file:///C:/Users/reetk/AppData/Local/XSplit/Broadcaster/alain.wolfs@gmail.com/BroadcastPlugins/SplitMediaLabs.LocalRecording/SplitMediaLabs.LocalRecording.dll

Twitch
Assembly Version: 4.0.2012.1701
Win32 Version: 4.0.2012.1701
CodeBase: file:///C:/Users/reetk/AppData/Local/XSplit/Broadcaster/alain.wolfs@gmail.com/BroadcastPlugins/Twitch/Twitch.dll

YouNow
Assembly Version: 3.8.1907.1001
Win32 Version: 3.8.1907.1001
CodeBase: file:///C:/Users/reetk/AppData/Local/XSplit/Broadcaster/alain.wolfs@gmail.com/BroadcastPlugins/YouNow/YouNow.dll

YouTubeLive
Assembly Version: 4.2.2109.101
Win32 Version: 4.2.2109.0101
CodeBase: file:///C:/Users/reetk/AppData/Local/XSplit/Broadcaster/alain.wolfs@gmail.com/BroadcastPlugins/YouTubeLive/YouTubeLive.dll

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Newtonsoft.Json
Assembly Version: 6.0.0.0
Win32 Version: 6.0.8.18111
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/Newtonsoft.Json.DLL

System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

PresentationCore
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll

System.Xaml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll

Google.Apis
Assembly Version: 1.9.1.34387
Win32 Version: 1.9.1.34387
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/Google.Apis.DLL

Google.Apis.Auth
Assembly Version: 1.9.1.28907
Win32 Version: 1.9.1.
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/Google.Apis.Auth.DLL

Google.Apis.Core
Assembly Version: 1.9.1.34387
Win32 Version: 1.9.1.34387
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/Google.Apis.Core.DLL

System.Net.Http.Primitives
Assembly Version: 2.2.29.0
Win32 Version: 2.2.29.0
CodeBase: file:///C:/Program%20Files/XSplit/Broadcaster/System.Net.Http.Primitives.DLL

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

So from now on i am using OBS atm