Quote:
Originally Posted by malados
I have one question about the DXVA decode and display.
When the DisplayNextFrame() function is called, it will search one nPicIndex to GetDeliveryBuffer and m_pAMVideoAccelerator->DisplayFrame to display the frame.
After display, the flag bUsed will set to 0 if this frame will not be reference by another frame.
So, the Index may be using for next decode buffer immediately.
The "decoded" frame will be updated on screen immediately caused by the same buffer index "nPicIndex" as previous display frame.
What is the problem? Does someone have any idea?
|
Is any one have idea about the buffer question?