wait for presentation_thread to become operational before leaving VdpPresentationQueueCreate
move decoder related part of API to vdpau-decoder.c