summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendan Long <b.long@cablelabs.com>2013-07-05 11:20:49 -0600
committerTim-Philipp Müller <tim@centricular.net>2013-07-06 00:45:44 +0100
commitb2ab5fe5ee424dd5792580850b1b62dbb4966041 (patch)
tree97b90d91c276bb94b2306740d9f08cfed925b005
parent7ad81885c4e20c9af5e3a51e569f69b096e1ef43 (diff)
downloadgstreamer-plugins-bad-b2ab5fe5ee424dd5792580850b1b62dbb4966041.tar.gz
webvttenc: Separate cues with two line breaks instead of one.
See http://dev.w3.org/html5/webvtt/#syntax https://bugzilla.gnome.org/show_bug.cgi?id=703673
-rw-r--r--gst/subenc/gstwebvttenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/subenc/gstwebvttenc.c b/gst/subenc/gstwebvttenc.c
index f1d08fd8f..effba6db2 100644
--- 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);