Quantcast
Channel: Media Foundation Development for Windows Desktop forum
Viewing all articles
Browse latest Browse all 1079

DXVA2 Allocator & EVR

$
0
0
Hi,

I hope it's a right place for this questions, so.. here it is:
I'm writing DXVA 2.0 decoder filter and I have a problem with media type change negotiation (on-fly). I haven't found any doc on msdn which describes it for DXVA 2.0.
I have written my own DXVA sample allocator and when I try to call SetProperties method on i (with new cbBuffer size), I get error: VFW_E_BUFFERS_OUTSTANDING. And it's permanent problem (not a synchronization issue).
When I take a look at m_lFree member of my DXVA allocator: I see that it contains 16 samples, when I've allocated total of 19 samples.
I believe that this samples are used by EVR as a reference frames, but stream have changed and I dont need it anymore.
How can I signal EVR to release this samples?


Best regards,
Sergey.


Viewing all articles
Browse latest Browse all 1079

Trending Articles