mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
applemedia: atdec: fix mp3 caps
This commit is contained in:
parent
234f3c73dc
commit
44e62613db
1 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ static GstStaticPadTemplate gst_atdec_sink_template =
|
||||||
GST_PAD_SINK,
|
GST_PAD_SINK,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("audio/mpeg, mpegversion=4, framed=true, channels=[1,max];"
|
GST_STATIC_CAPS ("audio/mpeg, mpegversion=4, framed=true, channels=[1,max];"
|
||||||
"audio/mpeg, mpegversion=1, layer=3")
|
"audio/mpeg, mpegversion=1, layer=[1, 3]")
|
||||||
);
|
);
|
||||||
|
|
||||||
G_DEFINE_TYPE_WITH_CODE (GstATDec, gst_atdec, GST_TYPE_AUDIO_DECODER,
|
G_DEFINE_TYPE_WITH_CODE (GstATDec, gst_atdec, GST_TYPE_AUDIO_DECODER,
|
||||||
|
@ -84,7 +84,7 @@ G_DEFINE_TYPE_WITH_CODE (GstATDec, gst_atdec, GST_TYPE_AUDIO_DECODER,
|
||||||
|
|
||||||
static GstStaticCaps aac_caps = GST_STATIC_CAPS ("audio/mpeg, mpegversion=4");
|
static GstStaticCaps aac_caps = GST_STATIC_CAPS ("audio/mpeg, mpegversion=4");
|
||||||
static GstStaticCaps mp3_caps =
|
static GstStaticCaps mp3_caps =
|
||||||
GST_STATIC_CAPS ("audio/mpeg, mpegversion=1, layer=3");
|
GST_STATIC_CAPS ("audio/mpeg, mpegversion=1, layer=[1, 3]");
|
||||||
static GstStaticCaps raw_caps = GST_STATIC_CAPS ("audio/x-raw");
|
static GstStaticCaps raw_caps = GST_STATIC_CAPS ("audio/x-raw");
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue