IMVPlaylistSource
The IMVPlaylist interface contains methods and properties to configure the MV Playlist Source filter.
Methods:
| ApplyPlaylist | Create the internal filter grahs for the playlist. |
| FrameDelayCurrent | Current frame delay value in seconds. |
| FrameDelayMax | Maximum frame delay value in seconds. |
| GetCurrentPosition | Returns the current position within the media stream. |
| PlayItem | Play the playlist from the given item. |
| SeekingAvailable | Is media seeking available. |
Header file:
IMVPlaylistSource.h
Interface definition language file: IMVPlaylistSource.idl
Typelib: MVPlaylistSource
Interface ID: IID_IMVPlaylistSource
Method IMVPlaylistSource::ApplyPlaylist
Declaration: Sub ApplyPlaylistCreate the internal filter grahs for the playlist. Call this method before connecting the output pins. Do not call this method with connected output pins.
C Prototype:HRESULT ApplyPlaylist();
Property IMVPlaylistSource::FrameDelayCurrent
Declaration: Property Get FrameDelayCurrent As DoubleCurrent frame delay value in seconds. This value is the maximum value since the last call.
C Prototype:HRESULT put_FrameDelayCurrent(DOUBLE newVal);
HRESULT get_FrameDelayCurrent(DOUBLE *pVal);
Property IMVPlaylistSource::FrameDelayMax
Declaration: Property Get FrameDelayMax As DoubleMaximum frame delay value in seconds.
C Prototype:HRESULT put_FrameDelayMax(DOUBLE newVal);
HRESULT get_FrameDelayMax(DOUBLE *pVal);
Method IMVPlaylistSource::GetCurrentPosition
Declaration: Sub GetCurrentPosition(Index As Long, Position As Double, TotalPosition As Double)Returns the current position within the media stream.
Parameter:
C Prototype:
Index Index of the current played paylits item. Position Played time of the current playled playlist item in seconds. TotalPosition Played time of the whole playlist in seconds. HRESULT GetCurrentPosition(LONG Index, DOUBLE Position, DOUBLE TotalPosition);
Method IMVPlaylistSource::PlayItem
Declaration: Sub PlayItem(Index As Long)Play the playlist from the given item.
Parameter:
C Prototype:
Index Index of the playlist item. HRESULT PlayItem(LONG Index);
Property IMVPlaylistSource::SeekingAvailable
Declaration: Property Get SeekingAvailable As BooleanIs media seeking available.
C Prototype:HRESULT get_SeekingAvailable(VARIANT_BOOL *pVal);