Matthew Heaney
8f75ba9926
lavf/webvttdec: save cue id and settings as side data
...
Currently the WebVTT demuxer parses the cues but throws away
the cue id (the optional first line of the cue) and cue
settings (the optional rendering instructions that follow
the timestamp).
However, in order to write inband text tracks (to WebM
files), the entire cue payload from the WebVTT source must
be preserved.
This commit makes no change to the data part of the output
buffer packet (where the actual cue text is stored), but
does add the cue id and settings as a side data items, if
they're present in the cue. Existing code that cares only
about the data part of the packet can continue to ignore the
side data.
There are two new packet data type flags,
AV_PKT_DATA_WEBVTT_IDENTIFIER and
AV_PKT_DATA_WEBVTT_SETTINGS.
2013-06-01 15:12:49 +02:00
..
2013-04-20 15:24:25 +02:00
2013-05-30 11:21:45 +02:00
2013-04-20 16:19:59 +02:00
2013-05-27 08:55:24 +02:00
2013-04-22 18:59:23 +02:00
2013-05-18 10:05:00 +02:00
2013-05-30 10:49:43 +02:00
2013-05-16 09:56:43 +02:00
2013-05-14 12:42:04 +03:00
2013-05-04 13:20:19 +02:00
2013-05-14 12:42:05 +03:00
2013-05-14 12:42:03 +03:00
2013-04-19 13:19:45 +02:00
2013-05-18 18:01:16 +02:00
2013-05-18 18:01:16 +02:00
2013-05-16 09:56:43 +02:00
2013-05-10 16:53:50 -03:00
2013-05-10 16:10:51 -03:00
2013-04-11 15:56:18 +02:00
2013-05-22 21:30:28 +02:00
2013-05-29 12:37:33 +00:00
2013-05-31 03:10:08 +02:00
2013-05-16 09:56:43 +02:00
2013-05-02 02:16:41 +02:00
2013-05-02 17:24:02 +02:00
2013-04-17 00:35:00 +02:00
2013-05-01 18:16:32 +02:00
2013-04-18 23:23:59 +02:00
2013-04-18 23:23:59 +02:00
2013-04-18 23:23:59 +02:00
2013-05-16 00:23:30 +02:00
2013-05-05 11:34:29 +02:00
2013-05-05 11:34:29 +02:00
2013-06-01 15:12:49 +02:00
2013-05-06 10:28:27 +02:00
2013-06-01 15:12:49 +02:00
2013-05-15 07:46:51 +02:00
2013-05-06 10:41:43 +02:00
2013-05-05 11:34:29 +02:00
2013-05-05 11:34:29 +02:00
2013-05-21 13:51:04 +02:00
2013-04-16 17:04:16 +02:00
2013-05-01 18:16:32 +02:00
2013-05-13 14:39:32 +02:00
2013-04-25 20:06:13 +00:00
2013-05-23 20:26:19 +00:00
2013-05-18 18:01:16 +02:00
2013-05-05 11:34:29 +02:00
2013-04-26 11:41:00 +00:00
2013-04-25 14:21:00 +00:00
2013-05-01 18:16:32 +02:00
2013-05-04 14:42:19 +02:00
2013-05-16 09:56:43 +02:00
2013-05-16 09:56:43 +02:00
2013-05-15 12:15:21 +02:00
2013-04-20 15:55:29 +02:00
2013-05-05 11:34:29 +02:00
2013-05-16 09:56:43 +02:00
2013-05-16 09:56:43 +02:00
2013-05-07 20:33:46 +02:00
2013-05-28 13:35:09 +02:00
2013-05-05 11:34:29 +02:00
2013-05-03 23:17:37 +02:00
2013-05-23 19:58:03 +00:00
2013-05-23 10:21:12 +00:00
2013-05-04 02:50:30 +02:00
2013-05-01 18:16:32 +02:00
2013-05-01 18:08:13 +02:00
2013-05-11 21:23:46 +02:00
2013-05-11 20:17:45 +02:00
2013-05-19 13:56:13 +02:00
2013-05-15 07:46:51 +02:00
2013-05-05 11:34:29 +02:00
2013-05-05 19:29:00 +02:00
2013-05-05 19:29:00 +02:00
2013-05-16 14:05:46 +02:00
2013-05-04 10:17:52 +02:00
2013-05-04 10:17:52 +02:00
2013-05-18 18:01:16 +02:00
2013-05-18 18:01:16 +02:00
2013-05-28 12:49:20 +02:00
2013-05-23 10:05:28 +00:00
2013-04-30 13:35:14 +02:00
2013-04-20 00:05:35 +02:00
2013-05-16 09:56:43 +02:00
2013-04-11 14:48:27 +02:00
2013-04-11 14:48:27 +02:00
2013-04-11 14:25:38 +02:00
2013-05-01 18:16:32 +02:00
2013-05-05 11:34:29 +02:00
2013-05-16 09:56:43 +02:00
2013-05-16 09:56:43 +02:00
2013-05-30 18:38:04 +02:00
2013-04-10 11:03:06 +03:00
2013-05-24 12:15:56 +02:00
2013-05-06 00:37:47 +02:00
2013-05-04 20:23:05 +02:00
2013-05-06 00:35:25 +02:00
2013-05-24 12:15:56 +02:00
2013-05-24 12:15:56 +02:00
2013-04-10 11:03:06 +03:00
2013-05-29 19:48:03 +02:00
2013-05-29 19:48:03 +02:00
2013-05-29 19:48:03 +02:00
2013-05-05 11:34:29 +02:00
2013-04-10 11:03:06 +03:00
2013-04-11 11:53:19 +02:00
2013-04-10 11:03:06 +03:00
2013-05-05 11:34:29 +02:00
2013-04-10 11:03:06 +03:00
2013-04-10 10:59:14 +03:00
2013-05-05 11:34:29 +02:00
2013-04-19 23:17:17 +03:00
2013-04-22 18:59:23 +02:00
2013-04-22 18:59:23 +02:00
2013-05-21 13:51:04 +02:00
2013-05-21 13:51:04 +02:00
2013-05-05 11:34:29 +02:00
2013-05-15 11:23:14 +02:00
2013-05-10 23:26:32 +02:00
2013-05-29 04:02:23 +02:00
2013-05-24 20:25:53 +02:00
2013-04-19 23:18:02 +03:00
2013-04-26 23:04:15 +02:00
2013-04-26 23:04:15 +02:00
2013-05-16 09:56:43 +02:00
2013-05-16 09:56:43 +02:00
2013-06-01 10:27:47 +02:00
2013-05-29 03:52:16 +02:00
2013-05-29 03:52:16 +02:00
2013-05-31 03:10:08 +02:00
2013-05-31 03:10:08 +02:00
2013-05-30 14:57:58 +02:00
2013-06-01 14:41:46 +02:00
2013-05-28 09:42:19 +02:00
2013-05-28 09:42:19 +02:00
2013-05-16 09:46:19 +02:00
2013-05-16 09:46:19 +02:00
2013-05-18 11:04:11 +02:00
2013-05-16 09:46:19 +02:00
2013-05-16 09:46:19 +02:00
2013-05-07 11:46:35 +02:00
2013-05-13 18:52:00 +02:00
2013-05-23 19:41:43 +00:00
2013-05-23 15:37:48 +02:00
2013-05-05 13:13:00 +02:00
2013-05-05 11:34:29 +02:00
2013-05-05 11:34:29 +02:00
2013-04-11 14:27:59 +00:00
2013-05-26 21:57:28 +00:00
2013-05-16 22:54:16 +02:00
2013-05-17 15:11:23 +02:00
2013-05-20 16:39:00 +02:00
2013-05-06 10:28:27 +02:00
2013-06-01 11:15:31 +02:00
2013-04-08 12:54:18 +02:00
2013-05-10 01:40:24 +02:00
2013-05-21 12:56:12 +02:00
2013-04-19 23:18:38 +03:00
2013-05-05 11:34:29 +02:00
2013-05-02 22:12:19 +02:00
2013-05-01 18:16:32 +02:00
2013-05-05 11:34:29 +02:00
2013-05-05 11:34:29 +02:00
2013-05-16 09:56:43 +02:00
2013-05-29 11:06:26 +02:00
2013-05-05 11:34:29 +02:00
2013-05-05 11:34:29 +02:00
2013-05-16 09:56:43 +02:00
2013-05-05 11:34:29 +02:00
2013-05-05 11:34:29 +02:00
2013-05-01 18:08:13 +02:00
2013-05-30 16:07:07 +02:00
2013-04-19 23:18:21 +03:00
2013-05-03 13:03:00 +02:00
2013-05-29 19:55:27 +02:00
2013-05-23 14:43:42 +02:00
2013-04-22 20:00:54 +02:00
2013-04-22 20:00:54 +02:00
2013-04-22 20:00:54 +02:00
2013-05-16 09:56:43 +02:00
2013-04-09 16:27:49 +02:00
2013-05-05 11:34:29 +02:00
2013-05-15 20:09:20 +02:00
2013-04-11 10:40:15 +00:00
2013-05-06 12:16:50 +02:00
2013-05-01 11:56:34 +02:00
2013-05-16 09:56:43 +02:00
2013-05-05 11:34:29 +02:00
2013-05-16 09:56:43 +02:00
2013-05-15 11:10:09 +02:00
2013-05-22 20:24:50 +02:00
2013-05-22 20:24:50 +02:00
2013-05-18 16:48:34 +02:00
2013-05-05 11:34:29 +02:00
2013-04-11 23:13:34 +02:00
2013-05-31 11:32:58 +02:00
2013-05-28 12:49:20 +02:00
2013-04-21 02:00:06 +02:00
2013-05-01 18:16:32 +02:00
2013-04-17 21:31:11 +02:00
2013-04-17 21:31:11 +02:00
2013-05-05 11:34:29 +02:00
2013-05-05 11:34:29 +02:00
2013-05-20 15:49:49 +02:00
2013-05-15 11:10:09 +02:00
2013-05-01 18:16:32 +02:00
2013-04-19 23:17:17 +03:00
2013-05-06 10:28:27 +02:00
2013-05-16 09:56:43 +02:00
2013-04-08 12:47:49 +02:00
2013-04-08 12:47:49 +02:00
2013-05-16 09:56:43 +02:00
2013-04-08 12:47:49 +02:00
2013-05-23 20:38:53 +00:00
2013-05-07 21:59:05 +02:00
2013-05-04 10:07:43 +02:00
2013-04-16 20:46:45 +00:00
2013-05-22 17:40:12 +02:00
2013-05-05 11:34:29 +02:00
2013-05-28 08:59:07 +02:00
2013-05-30 03:30:01 +02:00
2013-05-09 16:59:42 +02:00
2013-04-19 23:18:14 +03:00
2013-04-20 13:21:18 +02:00
2013-05-06 10:28:27 +02:00
2013-05-09 20:36:58 +00:00
2013-04-15 09:04:07 +02:00
2013-05-29 13:43:03 +00:00
2013-05-15 07:46:51 +02:00
2013-05-31 21:11:55 +00:00
2013-05-21 12:56:11 +02:00
2013-05-05 11:34:29 +02:00
2013-05-29 03:00:04 +02:00
2013-05-28 13:56:29 +03:00
2013-05-29 03:28:18 +02:00
2013-05-01 18:08:13 +02:00
2013-05-01 18:08:13 +02:00
2013-05-27 09:07:48 +02:00
2013-05-27 09:05:55 +02:00
2013-05-27 09:05:55 +02:00
2013-05-05 15:12:59 +02:00
2013-05-06 21:55:14 +02:00
2013-06-01 15:12:49 +02:00
2013-05-05 11:34:29 +02:00
2013-04-25 20:17:05 +00:00
2013-05-30 10:36:52 +02:00
2013-05-20 12:02:18 +02:00
2013-05-05 11:34:29 +02:00
2013-05-21 17:49:29 +00:00
2013-04-16 00:56:15 +02:00
2013-04-15 12:32:05 +03:00
2013-04-15 12:32:05 +03:00
2013-05-21 13:51:04 +02:00
2013-05-28 12:49:21 +02:00
2013-05-01 18:08:13 +02:00
2013-05-01 18:08:13 +02:00
2013-04-20 10:01:54 +02:00
2013-04-19 23:17:33 +03:00
2013-05-05 11:34:29 +02:00
2013-05-29 05:01:35 +02:00
2013-05-05 11:34:29 +02:00
2013-05-05 11:34:29 +02:00
2013-05-29 22:31:16 +02:00
2013-05-04 16:51:01 +02:00
2013-05-04 10:17:52 +02:00
2013-04-18 01:55:42 +02:00
2013-05-05 00:27:18 +02:00
2013-05-15 11:10:09 +02:00