Tuesday, June 17, 2008

WinCE Directshow Video Capture application Problem

I faced the problem in Video Capture application as follows:


RenderStream() fn executed without giving any problem for the first
time; During the second time, RenderStream() fn I got an error as
E_FAIL

Solution:
------------------

1.CLSID_VideoCapture ( Video Source Filters CoCreateInstance
must be called only once in a program otherwise we will get
RenderStream() fn failure error;

whenever we reconstruct the filter graphs by releasing filters in a
filter graph.
2.But For VideoCapture source filter we need to create the
object (using CoCreateInstance) and we have to use that object thru
out the application.

otherwise we will get RenderStream() fn failure message;

No comments: