예제 #1
0
        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);
        }
예제 #2
0
 public MyVideoPlayer(string filename)
     : base(filename)
 {
     m_texture = MyRwTextures.CreateDynamicTexture(VideoWidth, VideoHeight, VideoFormat);
 }