dxva2: reference the decoder as long as the surfaces are alive.
Reset frame stride before allocating buffers.