IDvdControl::SubpictureStreamChange
Microsoft DirectShow 9.0 |
IDvdControl::SubpictureStreamChange
- Note The IDvdControl interface is deprecated. Use IDvdControl2 instread.
Selects the new subpicture stream and enables or disables it for display.
Syntax
HRESULT SubpictureStreamChange( ULONG nSubPicture, BOOL bDisplay );
Parameters
nSubPicture
Value that specifies the source of the subpicture, which must be from 0 through 32, or 63.
Value | Description |
0-31 | Indicates that the stream is valid. |
32 | Enables you to toggle the display without changing the current stream (that is, change bDisplay without altering the current stream). |
63 | Indicates that the stream is the dummy stream. |
bDisplay
Value that specifies whether the subpicture is enabled; TRUE makes the subpicture visible and FALSE hides it.
Return Value
Returns an HRESULT value.
Remarks
This method returns an error unless the domain is DVD_DOMAIN_VideoManagerMenu, DVD_DOMAIN_VideoTitleSetMenu, DVD_DOMAIN_Title, or DVD_DOMAIN_Stop. For more information, see DVD_DOMAIN.
Requirements
Reference: Dshow.h.
Library: Quartz.dll.
See Also