Only mpegversion=4 is supported for AAC
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 18 Sep 2012 13:38:25 +0000 (15:38 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 15 Oct 2012 14:28:41 +0000 (16:28 +0200)
sys/androidmedia/gstamcaudiodec.c

index 8864cc81a5919631fdb0bc14fbd6c7aa48ab6c69..57037939c5df9cdd614cb07e72b751d8ac100ba5 100644 (file)
@@ -119,9 +119,8 @@ create_sink_caps (const GstAmcCodecInfo * codec_info)
       gst_value_list_append_value (&va, &v);
       g_value_unset (&v);
 
-      /* FIXME: Both mpegversions? */
       tmp = gst_structure_new ("audio/mpeg",
-          "mpegversion", GST_TYPE_INT_RANGE, 2, 4,
+          "mpegversion", G_TYPE_INT, 4,
           "rate", GST_TYPE_INT_RANGE, 1, G_MAXINT,
           "channels", GST_TYPE_INT_RANGE, 1, G_MAXINT,
           "framed", G_TYPE_BOOLEAN, TRUE, NULL);