Merge pull request #3367 from FernetMenta/aefixes

ActiveAE: fix opening wrong device after suspend
vdpau: exit gfx lock in OnLostDevice and OnResetDevice
vdpau: increase timeout for display event, some systems are too slow switching refresh rate
vdpau: drop old ffmpeg vdpau_render_state
vdpau: clear processed pics on flush
vdpau: reactivate long decoding time debug message
vdpau: keep video surfaces for another cycle
vdpau: create only a single vdpau device
vdpau: make sure buffers a full before returning a picture
vdpau: move common attributes into vdpau context
vdpau: drop pixmap magic, it violates the spec
vdpau: reduce number of render pics
vdpau: cosmetics