added ::CreateMediaSource to fix vs2012 build error