projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ad6f2d
)
webvttenc: Separate cues with two line breaks instead of one.
author
Brendan Long
<b.long@cablelabs.com>
Fri, 5 Jul 2013 17:20:49 +0000
(11:20 -0600)
committer
Tim-Philipp Müller
<tim@centricular.net>
Fri, 5 Jul 2013 17:32:43 +0000
(18:32 +0100)
See http://dev.w3.org/html5/webvtt/#syntax
https://bugzilla.gnome.org/show_bug.cgi?id=703673
gst/subenc/gstwebvttenc.c
patch
|
blob
|
history
diff --git
a/gst/subenc/gstwebvttenc.c
b/gst/subenc/gstwebvttenc.c
index
cdc9222
..
a829580
100644
(file)
--- a/
gst/subenc/gstwebvttenc.c
+++ b/
gst/subenc/gstwebvttenc.c
@@
-131,7
+131,7
@@
gst_webvtt_enc_chain (GstPad * pad, GstObject * parent, GstBuffer * buf)
gst_buffer_unmap (buf, &map_info);
}
- g_string_append
_c (s, '\n'
);
+ g_string_append
(s, "\n\n"
);
buf_size = s->len;
new_buffer = gst_buffer_new_wrapped (g_string_free (s, FALSE), buf_size);