mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 10:19:24 +02:00
Update
This commit is contained in:
parent
0e3fa24329
commit
4e95a0e94c
369 changed files with 16946 additions and 89882 deletions
5
node_modules/mux.js/cjs/mp4/caption-parser.js
generated
vendored
5
node_modules/mux.js/cjs/mp4/caption-parser.js
generated
vendored
|
@ -248,7 +248,10 @@ var parseCaptionNals = function parseCaptionNals(segment, videoTrackId) {
|
|||
* @return {?Object[]} parsedCaptions - A list of captions or null if no video tracks
|
||||
* @return {Number} parsedCaptions[].startTime - The time to show the caption in seconds
|
||||
* @return {Number} parsedCaptions[].endTime - The time to stop showing the caption in seconds
|
||||
* @return {String} parsedCaptions[].text - The visible content of the caption
|
||||
* @return {Object[]} parsedCaptions[].content - A list of individual caption segments
|
||||
* @return {String} parsedCaptions[].content.text - The visible content of the caption segment
|
||||
* @return {Number} parsedCaptions[].content.line - The line height from 1-15 for positioning of the caption segment
|
||||
* @return {Number} parsedCaptions[].content.position - The column indent percentage for cue positioning from 10-80
|
||||
**/
|
||||
|
||||
|
||||
|
|
2
node_modules/mux.js/cjs/mp4/transmuxer.js
generated
vendored
2
node_modules/mux.js/cjs/mp4/transmuxer.js
generated
vendored
|
@ -654,7 +654,7 @@ _CoalesceStream = function CoalesceStream(options, metadataStream) {
|
|||
this.push = function (output) {
|
||||
// buffer incoming captions until the associated video segment
|
||||
// finishes
|
||||
if (output.text) {
|
||||
if (output.content || output.text) {
|
||||
return this.pendingCaptions.push(output);
|
||||
} // buffer incoming id3 tags until the final flush
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue