summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-02-08 20:07:16 +0100
committerSebastian Dröge <sebastian@centricular.com>2014-02-08 20:07:16 +0100
commit6f178ea8dc8f6e292dd56b405646ebf40060dc1e (patch)
treed4ef6cc2320885e8d762bf70585ea1c50baa5de3 /tests
parent15e0db90e827ade350013f2434ff5779b3676fc7 (diff)
downloadgstreamer-plugins-bad-6f178ea8dc8f6e292dd56b405646ebf40060dc1e.tar.gz
assrender: Fix compiler warning in test
error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/assrender.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/check/elements/assrender.c b/tests/check/elements/assrender.c
index 742fda055..295375793 100644
--- a/tests/check/elements/assrender.c
+++ b/tests/check/elements/assrender.c
@@ -65,31 +65,31 @@ typedef struct
static const TestBuffer buf0 = {
0,
0,
- "[Script Info]\n"
- "; This is a Sub Station Alpha v4 script.\n"
- "; For Sub Station Alpha info and downloads,\n"
- "; go to http://www.eswat.demon.co.uk/\n"
- "Title: Some Test\n"
- "Script Updated By: version 2.8.01\n"
- "ScriptType: v4.00\n"
- "Collisions: Normal\n"
- "PlayResY: 200\n"
- "PlayDepth: 0\n"
- "Timer: 100,0000\n"
- " \n"
- "[V4 Styles]\n"
- "Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour, Bold, Italic, BorderStyle, Outline, Shadow, \n"
- " Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding\n"
- "Style: DefaultVCD, Arial,28,11861244,11861244,11861244,-2147483640,-1,0,1,1,2,2,30,30,30,0,0\n"
- " \n"
- "[Events]\n"
- "Format: Marked, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text"
+ {"[Script Info]\n"
+ "; This is a Sub Station Alpha v4 script.\n"
+ "; For Sub Station Alpha info and downloads,\n"
+ "; go to http://www.eswat.demon.co.uk/\n"
+ "Title: Some Test\n"
+ "Script Updated By: version 2.8.01\n"
+ "ScriptType: v4.00\n"
+ "Collisions: Normal\n"
+ "PlayResY: 200\n"
+ "PlayDepth: 0\n"
+ "Timer: 100,0000\n"
+ " \n"
+ "[V4 Styles]\n"
+ "Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour, Bold, Italic, BorderStyle, Outline, Shadow, \n"
+ " Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding\n"
+ "Style: DefaultVCD, Arial,28,11861244,11861244,11861244,-2147483640,-1,0,1,1,2,2,30,30,30,0,0\n"
+ " \n"
+ "[Events]\n"
+ "Format: Marked, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text"}
};
static const TestBuffer buf1 = {
40 * GST_MSECOND,
60 * GST_MSECOND,
- "1,,DefaultVCD, NTP,0000,0000,0000,,Some Test Blabla"
+ {"1,,DefaultVCD, NTP,0000,0000,0000,,Some Test Blabla"}
};
static void