voaacenc: Add NULL terminator to gst_structure_new()
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 19 Apr 2011 07:42:22 +0000 (09:42 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 14 May 2011 10:08:28 +0000 (12:08 +0200)
ext/voaacenc/gstvoaacenc.c

index f78dbe3..876c8ef 100644 (file)
@@ -314,7 +314,8 @@ gst_voaacenc_generate_sink_caps (void)
         "depth", G_TYPE_INT, 16,
         "signed", G_TYPE_BOOLEAN, TRUE,
         "endianness", G_TYPE_INT, G_BYTE_ORDER,
-        "rate", GST_TYPE_INT_RANGE, 8000, 96000, "channels", G_TYPE_INT, i + 1);
+        "rate", GST_TYPE_INT_RANGE, 8000, 96000, "channels", G_TYPE_INT, i + 1,
+        NULL);
 
     gst_structure_set_value (structure, "channel-positions", &chanpos);
     g_value_unset (&chanpos);