/** * Create a new video surface. * * @param widget widget into which the video will be rendered * @param videoSurfaceAdapter video surface adapter */ public GtkComponentIdVideoSurface(Widget widget, VideoSurfaceAdapter videoSurfaceAdapter) : base(Wid(widget), videoSurfaceAdapter) { }
/** * Create a new video surface. * * @param componentId native component identifier for the video surface * @param videoSurfaceAdapter adapter to attach a video surface to a native media player */ public ComponentIdVideoSurface(long componentId, VideoSurfaceAdapter videoSurfaceAdapter) : base(videoSurfaceAdapter) { this.componentId = componentId; }
/** * Create a new video surface wrapper. * * @param videoSurfaceAdapter video surface adapter implementation */ public VideoSurface(VideoSurfaceAdapter videoSurfaceAdapter) { this.videoSurfaceAdapter = videoSurfaceAdapter; }