mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
mpegdemux: include specific AAC stream-format types in template caps
https://bugzilla.gnome.org/show_bug.cgi?id=665394
This commit is contained in:
parent
ea28347bb6
commit
5c8ca4e1d0
2 changed files with 6 additions and 3 deletions
|
@ -118,8 +118,8 @@ static GstStaticPadTemplate audio_template =
|
|||
GST_STATIC_PAD_TEMPLATE ("audio_%02x",
|
||||
GST_PAD_SRC,
|
||||
GST_PAD_SOMETIMES,
|
||||
GST_STATIC_CAPS ("audio/mpeg, "
|
||||
"mpegversion = (int) { 1, 4 };"
|
||||
GST_STATIC_CAPS ("audio/mpeg, mpegversion = (int) 1;"
|
||||
"audio/mpeg, mpegversion = (int) 4, stream-format = (string) { adts, loas };"
|
||||
"audio/x-private1-lpcm; "
|
||||
"audio/x-private1-ac3;" "audio/x-private1-dts;" "audio/ac3")
|
||||
);
|
||||
|
|
|
@ -125,7 +125,10 @@ enum
|
|||
#define AUDIO_CAPS \
|
||||
GST_STATIC_CAPS ( \
|
||||
"audio/mpeg, " \
|
||||
"mpegversion = (int) { 1, 4 };" \
|
||||
"mpegversion = (int) 1;" \
|
||||
"audio/mpeg, " \
|
||||
"mpegversion = (int) 4, " \
|
||||
"stream-format = (string) { adts, loas };" \
|
||||
"audio/x-lpcm, " \
|
||||
"width = (int) { 16, 20, 24 }, " \
|
||||
"rate = (int) { 48000, 96000 }, " \
|
||||
|
|
Loading…
Reference in a new issue