From f53e66f4c6d7735123a4eb03fe4824ce1ffee01c Mon Sep 17 00:00:00 2001 From: Brendan Long Date: Fri, 5 Jul 2013 11:20:49 -0600 Subject: [PATCH] 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 --- gst/subenc/gstwebvttenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/subenc/gstwebvttenc.c b/gst/subenc/gstwebvttenc.c index cdc9222ac9..a82958017b 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);