Skip to content

Commit 26b5433

Browse files
valotvinceTheModMaker
authored andcommitted
enhance ttml rendering (#1962)
Change-Id: Ifed3539e90649d259707a91fbd644fc58ba79b94
1 parent 4615a0b commit 26b5433

File tree

8 files changed

+309
-94
lines changed

8 files changed

+309
-94
lines changed

AUTHORS

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# Please keep the list sorted.
1515

1616
AdsWizz <*@adswizz.com>
17+
Adrián Gómez Llorente <adgllorente@gmail.com>
1718
Alugha GmbH <*@alugha.com>
1819
Alvaro Velad Galvan <alvaro.velad@mirada.tv>
1920
Bonnier Broadcasting <*@bonnierbroadcasting.com>
@@ -52,4 +53,6 @@ Tomas Tichy <mr.tichyt@gmail.com>
5253
Toshihiro Suzuki <t.suzuki326@gmail.com>
5354
uStudio Inc. <*@ustudio.com>
5455
Verizon Digital Media Services <*@verizondigitalmedia.com>
55-
Adrián Gómez Llorente <adgllorente@gmail.com>
56+
Vincent Valot <valot.vince@gmail.com>
57+
58+

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,6 @@ 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>
8788
Adrián Gómez Llorente <adgllorente@gmail.com>

externs/shaka/text.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,20 @@ shaka.extern.Cue.prototype.wrapLine;
349349
*/
350350
shaka.extern.Cue.prototype.id;
351351

352+
/**
353+
* Nested cues
354+
* @type {Array.<!shaka.extern.Cue>}
355+
* @exportDoc
356+
*/
357+
shaka.extern.Cue.prototype.nestedCues;
358+
359+
/**
360+
* Whether or not the cue only acts as a spacer between two cues
361+
* @type {boolean}
362+
* @exportDoc
363+
*/
364+
shaka.extern.Cue.prototype.spacer;
365+
352366

353367
/**
354368
* An interface for plugins that parse text tracks.

lib/text/cue.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,18 @@ shaka.text.Cue = function(startTime, endTime, payload) {
184184
* @exportInterface
185185
*/
186186
this.id = '';
187+
188+
/**
189+
* @override
190+
* @exportInterface
191+
*/
192+
this.nestedCues = [];
193+
194+
/**
195+
* @override
196+
* @exportInterface
197+
*/
198+
this.spacer = false;
187199
};
188200

189201

0 commit comments

Comments
 (0)