Метод | Описание | |
---|---|---|
AddSubtitleFilter ( IGraphBuilder _graphBuilder ) : IBaseFilter |
Adds the subtitle filter to the graph.
|
|
Clear ( ) : void |
Cleans up resources
|
|
GetInstance ( ) : |
||
OnSeek ( double startPos ) : int |
Alerts the subtitle render that a seek has just been performed. Stops displaying the current subtitle and removes any cached subtitles. Furthermore updates the time that playback starts after the seek.
|
|
OnSubtitle ( |
Callback from subtitle filter, alerting us that a new subtitle is available It receives the new subtitle as the argument sub, which data is only valid for the duration of OnSubtitle.
|
|
OnTextSubtitle ( |
||
Render ( ) : void | ||
RenderText ( MediaPortal.Player.Subtitles.LineContent lc ) : |
||
Reset ( ) : int |
Alerts the subtitle render that a reset has just been performed. Stops displaying the current subtitle and removes any cached subtitles.
|
|
SetPlayer ( IPlayer p ) : void | ||
SetSubtitleOption ( |
||
UpdateTimeout ( System.Int64 &timeOut ) : int |
Callback from subtitle filter Updates the latest subtitle timeout
|
Метод | Описание | |
---|---|---|
AddSubtitle ( |
||
ClearSubtitles ( ) : void | ||
CreateVertexBuffer ( int wx, int wy, int wwidth, int wheight ) : void |
Creates a vertex buffer for a transformed textured quad matching the given rectangle and stores it in vertexBuffer
|
|
SetSubtitle ( |
||
SubtitleRenderer ( ) : System |
public AddSubtitleFilter ( IGraphBuilder _graphBuilder ) : IBaseFilter | ||
_graphBuilder | IGraphBuilder | |
Результат | IBaseFilter |
public static GetInstance ( ) : |
||
Результат |
public OnSubtitle ( |
||
sub | ||
Результат | int |
public OnTextSubtitle ( |
||
sub | ||
Результат | void |
public static RenderText ( MediaPortal.Player.Subtitles.LineContent lc ) : |
||
lc | MediaPortal.Player.Subtitles.LineContent | |
Результат |
public SetSubtitleOption ( |
||
option | ||
Результат | void |
public UpdateTimeout ( System.Int64 &timeOut ) : int | ||
timeOut | System.Int64 | |
Результат | int |