Index: loader/dshow/DS_Filter.c =================================================================== --- loader/dshow/DS_Filter.c.orig 2007-02-07 22:18:48.000000000 -0800 +++ loader/dshow/DS_Filter.c 2007-02-07 22:57:50.000000000 -0800 @@ -249,6 +249,27 @@ break; } + result = This->m_pOutputPin->vt->QueryAccept(This->m_pOutputPin, This->m_pDestType); + if (result) + { + GUID *g = &This->m_pDestType->majortype; + printf( + "\tMajor: %08x-%04x-%04x-%02x%02x%02x%02x%02x%02x%02x%02x\n", + g->f1, g->f2, g->f3, g->f4[0], g->f4[1], g->f4[2] ,g->f4[3], + g->f4[4],g->f4[5],g->f4[6],g->f4[7]); + g = &This->m_pDestType->subtype; + printf( + "\tSubtype: %08x-%04x-%04x-%02x%02x%02x%02x%02x%02x%02x%02x\n", + g->f1, g->f2, g->f3, g->f4[0], g->f4[1], g->f4[2] ,g->f4[3], + g->f4[4],g->f4[5],g->f4[6],g->f4[7]); + g = (GUID *)(This->m_pDestType->pbFormat + 0x40); + printf( + "\tpbFormat: %08x-%04x-%04x-%02x%02x%02x%02x%02x%02x%02x%02x\n", + g->f1, g->f2, g->f3, g->f4[0], g->f4[1], g->f4[2] ,g->f4[3], + g->f4[4],g->f4[5],g->f4[6],g->f4[7]); + em = "output format is not accepted"; + break; + } This->m_pOurOutput = COutputPinCreate(This->m_pDestType); result = This->m_pOutputPin->vt->ReceiveConnection(This->m_pOutputPin,