mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
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:
parent
01616be72b
commit
1a8e63c43f
1 changed files with 2 additions and 0 deletions
|
@ -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));
|
||||||
|
|
Loading…
Reference in a new issue