Changes

Jump to: navigation, search

OSD600/webvtt/cue settings

165 bytes removed, 21:07, 25 September 2012
"position", "size" & "align" settings
00:11.000 --> 00:13.000 :10%
 
payload
*no cue setting
00:11.000 --> 00:13.000 position:10%
payload
*positive test (should succeed)
00:11.000 --> 00:13.000 position:A%
payload
*character above utf-8+0039
**NOTE: the parser currently passes this test instead of failing it
00:11.000 --> 00:13.000 position:+%
payload
*character below utf-8+0030
**NOTE: the parser currently passes this test instead of failing it
00:11.000 --> 00:13.000 position10%
payload
*':' missing in between cue setting and value
00:11.000 --> 00:13.000 position:10
payload
*'%' missing at the end
00:11.000 --> 00:13.000 size:10%
payload
*positive test (should succeed)
00:11.000 --> 00:13.000 size:A%
payload
*character above utf-8+0039
**NOTE: the parser currently passes this test instead of failing it
00:11.000 --> 00:13.000 size:+%
payload
*character below utf-8+0030
**NOTE: the parser currently passes this test instead of failing it
00:11.000 --> 00:13.000 size10%
payload
*':' missing in between cue setting and value
00:11.000 --> 00:13.000 size:10
payload
*'%' missing at the end
00:11.000 --> 00:13.000 :start
payload
*no cue setting
00:11.000 --> 00:13.000 align:start
payload
*positive test (should succeed)
00:11.000 --> 00:13.000 align:middle
payload
*positive test (should succeed)
00:11.000 --> 00:13.000 align:end
payload
*positive test (should succeed)
00:11.000 --> 00:13.000 align:star
payload
*test misspelling of one of the possible values
00:11.000 --> 00:13.000 align:
payload
*test missing value
These tests look okay, but just one thing to point out, the draft does require that a cue has a cue payload (eg, the text content of the subtitle), so if they weren't in the actual test files, they need to be added in so that we're only testing the pass/fail of the specific conditions we're looking at.
*added payload to all tests
1
edit

Navigation menu