diff --git a/modules/EBU-TT2EBU-TT-D/EBU-TT2EBU-TT-D.xslt b/modules/EBU-TT2EBU-TT-D/EBU-TT2EBU-TT-D.xslt index 6eb1e90..2aed0d3 100644 --- a/modules/EBU-TT2EBU-TT-D/EBU-TT2EBU-TT-D.xslt +++ b/modules/EBU-TT2EBU-TT-D/EBU-TT2EBU-TT-D.xslt @@ -448,73 +448,214 @@ limitations under the License. - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Pruning a p element whose begin or end times would be offset to a negative value + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Pruning a span element whose begin or end times would be offset to a negative value + + + + + + + + + + + + + + - - - + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + - + - The begin attribute of the tt:p element has invalid content. + The begin attribute of the tt:p element has invalid content. - - - + + + - + - + @@ -527,11 +668,11 @@ limitations under the License. - @@ -546,7 +687,7 @@ limitations under the License. - The begin attribute should use a valid smpte timeformat if 'smpte' is given as timeCodeFormat. + The begin or end attribute should use a valid smpte timeformat if 'smpte' is given as timeCodeFormat. @@ -554,7 +695,7 @@ limitations under the License. - - The begin attribute should use a valid media timeformat if 'media' is given as timeCodeFormat. + The begin or end attribute should use a valid media timeformat if 'media' is given as timeCodeFormat. @@ -585,101 +726,7 @@ limitations under the License. - - - - - - - - - - The begin attribute of the tt:p element has invalid content. - - - - - - - - - - - - - - - - - - The selected timeCodeFormat is unknown. Only 'media' and 'smpte' are supported. - - - - - - - - - - - - - - - - - - - - - - - The end attribute should use a valid smpte timeformat if 'smpte' is given as timeCodeFormat. - - - - - - - - - - - - - - - - - - - - - - The end attribute should use a valid media timeformat if 'media' is given as timeCodeFormat. - - - - - - - - The selected timeCodeFormat is unknown. Only 'media' and 'smpte' are supported. - - - - - + @@ -713,8 +760,8 @@ limitations under the License. - @@ -722,7 +769,7 @@ limitations under the License. - + @@ -735,7 +782,7 @@ limitations under the License. - + @@ -750,7 +797,7 @@ limitations under the License. - + @@ -767,12 +814,12 @@ limitations under the License. - + - - The chosen offset would result in a negative timestamp for a time value. - - + The chosen offset has resulted in a negative timestamp for a time value. + @@ -793,7 +840,7 @@ limitations under the License. - + @@ -805,91 +852,5 @@ limitations under the License. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/modules/EBU-TT2EBU-TT-D/README.md b/modules/EBU-TT2EBU-TT-D/README.md index 1c12caa..74f7128 100644 --- a/modules/EBU-TT2EBU-TT-D/README.md +++ b/modules/EBU-TT2EBU-TT-D/README.md @@ -8,7 +8,7 @@ The implementation of the EBU-TT2EBU-TT-D module is based on the use case of the The EBU-TT2EBU-TT-D.xslt provides the following parameter: - offsetInSeconds - Defines the time-offset that's used for the TCI and TCO elements in seconds + Defines the time-offset that's used for the TCI and TCO elements in seconds. If applying the time-offset results in negative begin or end times the p or span elements that would fall partially before time 00:00:00 are pruned and a warning is issued. ## DESCRIPTION This transformation assumes that the input EBU-TT file is based on an EBU-STL file and the transformation followed the guidelines of EBU Tech 3360.