Managed DirectShow Programming Reference

VideoWindowSink Class

[This is preliminary documentation and subject to change.]

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

For a list of all members of this type, see VideoWindowSink Members.

System.Object
   MarshalByRefObject
      Component
         Control
            ScrollableControl
               Panel
                  VideoWindowSink

public class VideoWindowSink : Panel, ,

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

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 Rendered, 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.

Requirements

Namespace: KvTv.DirectShow.Windows.Forms

Assembly: KvTv.DirectShow.Components (in KvTv.DirectShow.Components.dll)

See Also

VideoWindowSink Members | KvTv.DirectShow.Windows.Forms Namespace