applemedia: split plugin into elements using public and private API
avfvideosrc: fix deadlock draining queue from the same threadw