summaryrefslogtreecommitdiff
path: root/gst/subenc
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-05 18:32:43 +0100
commitf53e66f4c6d7735123a4eb03fe4824ce1ffee01c (patch)
treecdea73cb3431fd2e4e65226ce07efadb8a151a2b /gst/subenc
parent5ad6f2d4a0a93fcca5c779025a7e96757da082ac (diff)
downloadgstreamer-plugins-bad-f53e66f4c6d7735123a4eb03fe4824ce1ffee01c.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
Diffstat (limited to 'gst/subenc')
-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 cdc9222ac..a82958017 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);