hi all,
i am developing the avstream Composite driver . when i load both audio(media device) and video(imaging device) driver it is installed succesfully and i selected the both audio and video device from grapedit .after i render the both device i given play from the graph edit .only audio is moved to RUN state but video is not moved to RUN state,it is coming upto acquire state and it is not giving any error from grapedit
i have tested video and audio seperately its working fine (ie) both are moving to RUN state and streaming is happening .
filter descriptor for both audio and video:
VIDEO:
const
KSFILTER_DESCRIPTOR
CaptureFilterDescriptor = {
&CaptureFilterDispatch, // Dispatch Table
NULL, // Automation Table
KSFILTER_DESCRIPTOR_VERSION, // Version
0,// Flags
&KSNAME_Filter, // Reference GUID
DEFINE_KSFILTER_PIN_DESCRIPTORS (CaptureFilterPinDescriptors),
DEFINE_KSFILTER_CATEGORIES (CaptureFilterCategories),
DEFINE_KSFILTER_NODE_DESCRIPTORS (NodeDescriptors),
DEFINE_KSFILTER_CONNECTIONS (FilterConnections),
NULL // Component ID
};
AUDIO :
const
KSFILTER_DESCRIPTOR
CaptureFilterDescriptor = {
&CaptureFilterDispatch, // Dispatch Table
&AudioFilterAutomationTable, // Automation Table
KSFILTER_DESCRIPTOR_VERSION, // Version
0,// Flags
&KSNAME_Filter, // Reference GUID
DEFINE_KSFILTER_PIN_DESCRIPTORS (CaptureFilterPinDescriptors), // Pin Descriptor
DEFINE_KSFILTER_CATEGORIES (CaptureFilterCategories), // Category
DEFINE_KSFILTER_NODE_DESCRIPTORS (NodeDescriptors),
DEFINE_KSFILTER_CONNECTIONS (FilterConnections),
NULL // Component ID
};
is their any solution
thanks in advance