Skip to content

Commit 2d9161a

Browse files
committed
enhance ttml rendering
1 parent 2dbeb0e commit 2d9161a

File tree

8 files changed

+293
-72
lines changed

8 files changed

+293
-72
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,4 @@ Tomas Tichy <mr.tichyt@gmail.com>
5151
Toshihiro Suzuki <t.suzuki326@gmail.com>
5252
uStudio Inc. <*@ustudio.com>
5353
Verizon Digital Media Services <*@verizondigitalmedia.com>
54+
Vincent Valot <valot.vince@gmail.com>

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,5 @@ Torbjörn Einarsson <torbjorn.einarsson@edgeware.tv>
8383
Toshihiro Suzuki <t.suzuki326@gmail.com>
8484
Vasanth Polipelli <vasanthap@google.com>
8585
Vignesh Venkatasubramanian <vigneshv@google.com>
86+
Vincent Valot <valot.vince@gmail.com>
8687
Yohann Connell <robinconnell@google.com>

externs/shaka/text.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,20 @@ shaka.extern.Cue = class {
316316
* @exportDoc
317317
*/
318318
this.id;
319+
320+
/**
321+
* Nested cues
322+
* @type {Array.<!shaka.extern.Cue>}
323+
* @exportDoc
324+
*/
325+
this.nestedCues;
326+
327+
/**
328+
* Whether or not the cue only acts as a spacer between two cues
329+
* @type {boolean}
330+
* @exportDoc
331+
*/
332+
this.spacer;
319333
}
320334
};
321335

lib/text/cue.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,18 @@ shaka.text.Cue = class {
182182
* @exportInterface
183183
*/
184184
this.id = '';
185+
186+
/**
187+
* @override
188+
* @exportInterface
189+
*/
190+
this.nestedCues = [];
191+
192+
/**
193+
* @override
194+
* @exportInterface
195+
*/
196+
this.spacer = false;
185197
}
186198
};
187199

0 commit comments

Comments
 (0)