public void SetSize(int width, int height)
{
if (this.CurrentStatus != MediaStatus.Playing)
{
return;
}
MediaPlayer.StandardInput.WriteLine(string.Format("set_property width {0}", width));
MediaPlayer.StandardInput.WriteLine(string.Format("set_property height {0}", height));
MediaPlayer.StandardInput.Flush();
}