Only mpegversion=4 is supported for AAC

This commit is contained in:
Sebastian Dröge 2012-09-18 15:38:25 +02:00
parent 742816df69
commit cb6f703669

View 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);