[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Provides a Control that acts as a ISinkGraph by rendering the stream contents on the control.

Namespace: KvTv.DirectShow.Windows.Forms
Assembly:   KvTv.DirectShow.Components (in KvTv.DirectShow.Components.dll)

Syntax

Visual Basic (Declaration)
Public Class VideoWindowSink _
	Inherits Panel _
	Implements ISinkGraph, IGraph
C#
public class VideoWindowSink : Panel, ISinkGraph, IGraph
Visual C++
public ref class VideoWindowSink : public Panel, ISinkGraph, IGraph

Remarks

This control brings together the use of the VideoWindowPullSink and VideoWindowPushSink controls and the BasicVideoWindow and VideoMixingWindowless controls to provide the best and most appropriate combination for the situation at hand. When Render()ed, the VideoWindowSink will inspect the output of the source. If it consists of a single MPEG2 transport stream using the push model, it will function as a VideoWindowPushSink; otherwise, it will function as a VideoWindowPullSink. For the Window, it will first try to use a VideoMixingWindowless, but if its Renderer could not be created (i.e. VMR9 is not supported by the system), it will automatically fall back to using a BasicVideoWindow. Please note that this scheme is not fool proof.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Windows.Forms.Control
        System.Windows.Forms.ScrollableControl
          System.Windows.Forms.Panel
            KvTv.DirectShow.Windows.Forms.VideoWindowSink