public MyVideoPlayer(string filename) // : base(filename) { m_wrapper = XB1Interface.XB1Interface.CreateVideoPlayer(filename); //m_texture = MyRwTextures.CreateDynamicTexture(VideoWidth, VideoHeight, VideoFormat); videoState = VideoState.Stopped; int w = 0, h = 0; m_wrapper.GetVideoFrameSize(ref w, ref h); m_texture = MyRwTextures.CreateDynamicTexture(w, h, VideoFormat); }
public MyVideoPlayer(string filename) : base(filename) { m_texture = MyRwTextures.CreateDynamicTexture(VideoWidth, VideoHeight, VideoFormat); }