move from QtAV osd to player example. remove dead code
fix crash if an id is not found in factory
resampler id can not be 0
vo: remove dead code about scale in renderer