Error: HResult E_FAIL returned from COM DEVICE
-
I had used the DirectShowLib 2005 and DirectX libraries for saving videos in WMV format.The Format is wmv and the video standard is PAL_B. In my application I was able to see the preview of the Video but when saving an error comes "HResult E_FAIL returned from COM DEVICE" on mediaController.Run().Why is this error coming any idea will be very beneficial. Thanks
-
I had used the DirectShowLib 2005 and DirectX libraries for saving videos in WMV format.The Format is wmv and the video standard is PAL_B. In my application I was able to see the preview of the Video but when saving an error comes "HResult E_FAIL returned from COM DEVICE" on mediaController.Run().Why is this error coming any idea will be very beneficial. Thanks
I don't know why you get E_FAIL but have you tried getting more information, if it's available, using the COM mechanism IErrorInfo?
HRESULT hr; CComPtr spErrorInfo; hr = GetErrorInfo(0, &spErrorInfo);