Fix tiny caps error in lame caps - mpegversion(1) was missing

Original commit message from CVS:
Fix tiny caps error in lame caps - mpegversion(1) was missing
This commit is contained in:
Ronald S. Bultje 2003-09-12 11:35:23 +00:00
parent 01616be72b
commit 1a8e63c43f

View file

@ -68,6 +68,7 @@ GST_PAD_TEMPLATE_FACTORY (gst_lame_src_factory,
GST_CAPS_NEW ( GST_CAPS_NEW (
"gstlame_src", "gstlame_src",
"audio/mpeg", "audio/mpeg",
"mpegversion", GST_PROPS_INT (1),
"layer", GST_PROPS_INT (3), "layer", GST_PROPS_INT (3),
"rate", GST_PROPS_LIST ( "rate", GST_PROPS_LIST (
GST_PROPS_INT (8000), GST_PROPS_INT (8000),
@ -370,6 +371,7 @@ gst_lame_sinkconnect (GstPad *pad, GstCaps *caps)
caps = GST_CAPS_NEW ("lame_src_caps", caps = GST_CAPS_NEW ("lame_src_caps",
"audio/mpeg", "audio/mpeg",
"mpegversion", GST_PROPS_INT (1),
"layer", GST_PROPS_INT (3), "layer", GST_PROPS_INT (3),
"channels", GST_PROPS_INT (lame->num_channels), "channels", GST_PROPS_INT (lame->num_channels),
"rate", GST_PROPS_INT (lame->samplerate)); "rate", GST_PROPS_INT (lame->samplerate));