| Previous | Next |
| VFW_E_INVALID_RECT | VFW_E_SAMPLE_REJECTED |
VFW_E_TYPE_NOT_ACCEPTED
VFW_E_TYPE_NOT_ACCEPTED is a DirectShow HRESULT. The proposed media type is structurally valid, but this particular pin cannot process it. The pin may support a narrower set of codecs, pixel formats, sample rates or format details than the upstream filter offered.
How to diagnose it
- Use media-type enumeration and
QueryAcceptto identify the first accepted type. - Compare the complete format block, not only the major type and subtype.
- Insert a converter, decoder, resampler or color-space transform when the source cannot produce an accepted type directly.
This differs from VFW_E_INVALIDMEDIATYPE: the type can be valid but unsupported by the specific pin.
Microsoft: DirectShow media-type acceptance
Looking for a different code? Search another status or error code.
