-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix race that allows multiple text streams to be loaded (#5129)
When enabling text visibility and selecting a new text language simultaneously, a race condition can occur that allows multiple text streams to be loaded in the same text media state. Tracking a sequence id, updates `loadNewTextStream_` to only create a new text media state with the text stream from the last call to `loadNewTextStream_`. Resolves: #4821 --------- Co-authored-by: Dan Sparacio <[email protected]> Co-authored-by: Casey Occhialini <[email protected]>
- Loading branch information
1 parent
bbaffe8
commit 35832b1
Showing
4 changed files
with
110 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -117,6 +117,8 @@ Vasanth Polipelli <[email protected]> | |
Vignesh Venkatasubramanian <[email protected]> | ||
Vincent Valot <[email protected]> | ||
Wayne Morgan <[email protected]> | ||
Wen Ren <[email protected]> | ||
Will Harris <[email protected]> | ||
Yohann Connell <[email protected]> | ||
Raymond Cheng <[email protected]> | ||
Janroel Koppen <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
WEBVTT | ||
00:04.000 --> 00:07.300 | ||
Journal de bord du capitaine. | ||
Date stellaire 41636.9. | ||
|
||
00:07.500 --> 00:11.800 | ||
Comme nous le craignions, l'épave | ||
du cargo Odin de la Fédération, | ||
|
||
00:12.100 --> 00:16.400 | ||
percuté par un astéroïde, | ||
ne révèle aucun signe de vie. | ||
|
||
00:16.700 --> 00:19.000 | ||
Mais trois nacelles | ||
de sauvetage manquaient, | ||
|
||
00:19.300 --> 00:21.900 | ||
laissant supposer | ||
qu'il y aurait des survivants. | ||
|
||
00:22.700 --> 00:27.700 | ||
- Mise sur orbite Angel One, paré. | ||
- Quel genre d'endroit, Data ? | ||
|
||
00:28.200 --> 00:31.600 | ||
Planète de Classe-M. | ||
Faune et flore à base de carbone. | ||
|
||
00:31.900 --> 00:34.300 | ||
Population éparse | ||
et forme de vie intelligente. | ||
|
||
00:34.600 --> 00:38.400 | ||
Développement technique équivalent | ||
au milieu du 20ème siècle terrien. | ||
|
||
00:38.800 --> 00:41.000 | ||
C'est presque un retour aux sources. | ||
|
||
00:41.300 --> 00:43.600 | ||
Si jamais des survivants | ||
ont pu aller si loin, | ||
|
||
00:43.800 --> 00:49.000 | ||
c'était la planète la plus proche. | ||
La distance qui nous a pris 2 jours | ||
|
||
00:49.500 --> 00:52.400 | ||
aurait pris 5 mois aux nacelles | ||
de sauvetage du Odin. | ||
|
||
00:52.600 --> 00:54.700 | ||
Cinq mois, six jours, onze heures, | ||
deux min... | ||
|
||
00:54.900 --> 00:58.400 | ||
- Merci, Data. | ||
- ..et 57 secondes. | ||
|
||
00:58.600 --> 01:01.300 | ||
Signal audio provenant d'Angel One. |