DVD_CMD_FLAGS Enumeration
Microsoft DirectShow 9.0 |
DVD_CMD_FLAGS Enumeration
Defines flags that control how the DVD Navigator Filter filter handles command synchronization.
Syntax
typedef enum { DVD_CMD_FLAG_None = 0x00000000, DVD_CMD_FLAG_Flush = 0x00000001, DVD_CMD_FLAG_SendEvents = 0x00000002, DVD_CMD_FLAG_Block = 0x00000004, DVD_CMD_FLAG_StartWhenRendered = 0x00000008, DVD_CMD_FLAG_EndAfterRendered = 0x00000010 } DVD_CMD_FLAGS;
Members
DVD_CMD_FLAG_None
The DVD Navigator will not flush its buffers when it issues the command, will not send any events, and will not to block the thread of execution on any method call.
DVD_CMD_FLAG_Flush
The DVD Navigator will flush all of its buffered video data before issuing the command. This can cause the DVD Navigator to discard approximately two seconds of video, which will decrease the response time but cause a gap in the playback data.
DVD_CMD_FLAG_SendEvents
The DVD Navigator will send an EC_DVD_CMD_START event when the command begins, and an EC_DVD_CMD_END event when the command ends. The event parameters contain the status code of the operation.
DVD_CMD_FLAG_Block
The DVD Navigator blocks until the command completes or is canceled.
DVD_CMD_FLAG_StartWhenRendered
Currently not used.
DVD_CMD_FLAG_EndAfterRendered
The DVD Navigator will block until the specified action is actually rendered. This flag can be used with the following methods:
- IDvdControl2::PlayChaptersAutoStop
- IDvdControl2::PlayPeriodInTitleAutoStop
- IDvdControl2::SelectSubpictureStream
- IDvdControl2::SetSubpictureState
For example, when used with PlayChaptersAutoStop, this flag causes the DVD Navigator to block until the specified chapters have all played. When used with SelectSubpictureStream, the flag causes the DVD Navigator to block until the new subpicture is rendered.
Requirements
Header: Dshow.h
See Also