mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
avimux: matroskamux: rename aac's stream-format to raw
AAC's none stream-format has been renamed to raw, rename on avimux and matroskamux as well
This commit is contained in:
parent
1314853210
commit
5975b01b01
2 changed files with 8 additions and 8 deletions
|
@ -174,7 +174,7 @@ static GstStaticPadTemplate audio_sink_factory =
|
|||
"rate = (int) [ 1000, 96000 ], " "channels = (int) [ 1, 2 ]; "
|
||||
"audio/mpeg, "
|
||||
"mpegversion = (int) 4, "
|
||||
"stream-format = (string) none, "
|
||||
"stream-format = (string) raw, "
|
||||
"rate = (int) [ 1000, 96000 ], " "channels = (int) [ 1, 2 ]; "
|
||||
/*#if 0 VC6 doesn't support #if here ...
|
||||
"audio/x-vorbis, "
|
||||
|
@ -853,14 +853,14 @@ gst_avi_mux_audsink_set_caps (GstPad * pad, GstCaps * vscaps)
|
|||
|
||||
stream_format = gst_structure_get_string (structure, "stream-format");
|
||||
if (stream_format) {
|
||||
if (strcmp (stream_format, "none") != 0) {
|
||||
if (strcmp (stream_format, "raw") != 0) {
|
||||
GST_WARNING_OBJECT (avimux, "AAC's stream format '%s' is not "
|
||||
"supported, please use 'none'", stream_format);
|
||||
"supported, please use 'raw'", stream_format);
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
GST_WARNING_OBJECT (avimux, "AAC's stream-format not specified, "
|
||||
"assuming 'none'");
|
||||
"assuming 'raw'");
|
||||
}
|
||||
|
||||
/* vbr case needs some special handling */
|
||||
|
|
|
@ -136,7 +136,7 @@ static GstStaticPadTemplate audiosink_templ =
|
|||
GST_STATIC_CAPS ("audio/mpeg, "
|
||||
"mpegversion = (int) 1, "
|
||||
"layer = (int) [ 1, 3 ], "
|
||||
"stream-format = (string) { none }, "
|
||||
"stream-format = (string) { raw }, "
|
||||
COMMON_AUDIO_CAPS "; "
|
||||
"audio/mpeg, "
|
||||
"mpegversion = (int) { 2, 4 }, "
|
||||
|
@ -1510,13 +1510,13 @@ gst_matroska_mux_audio_pad_setcaps (GstPad * pad, GstCaps * caps)
|
|||
stream_format = gst_structure_get_string (structure, "stream-format");
|
||||
/* check this is raw aac */
|
||||
if (stream_format) {
|
||||
if (strcmp (stream_format, "none") != 0) {
|
||||
GST_WARNING_OBJECT (mux, "AAC stream-format must be 'none', not %s",
|
||||
if (strcmp (stream_format, "raw") != 0) {
|
||||
GST_WARNING_OBJECT (mux, "AAC stream-format must be 'raw', not %s",
|
||||
stream_format);
|
||||
}
|
||||
} else {
|
||||
GST_WARNING_OBJECT (mux, "AAC stream-format not specified, "
|
||||
"assuming 'none'");
|
||||
"assuming 'raw'");
|
||||
}
|
||||
|
||||
if (buf) {
|
||||
|
|
Loading…
Reference in a new issue