Rename aac's stream-format 'none' to 'raw'
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Mon, 11 Jan 2010 16:13:41 +0000 (13:13 -0300)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 8 Apr 2011 17:07:04 +0000 (18:07 +0100)
Renames aac's stream-format from previous commits from none to
raw

gst/audioparsers/gstaacparse.c
tests/check/elements/aacparse.c

index 545c937..ae30200 100644 (file)
@@ -223,7 +223,7 @@ gst_aacparse_set_src_caps (GstAacParse * aacparse, GstCaps * sink_caps)
 
   switch (aacparse->header_type) {
     case DSPAAC_HEADER_NONE:
-      stream_format = "none";
+      stream_format = "raw";
       break;
     case DSPAAC_HEADER_ADTS:
       stream_format = "adts";
index 62c9286..f14ce9d 100644 (file)
@@ -473,7 +473,7 @@ GST_START_TEST (test_parse_handle_codec_data)
   fail_unless (gst_structure_has_field (s, "codec_data"));
   fail_unless (gst_structure_has_field (s, "stream-format"));
   stream_format = gst_structure_get_string (s, "stream-format");
-  fail_unless (strcmp (stream_format, "none") == 0);
+  fail_unless (strcmp (stream_format, "raw") == 0);
 
   gst_caps_unref (sinkcaps);