Commit 87450c1b authored by Thiago Santos's avatar Thiago Santos Committed by Tim-Philipp Müller

Rename aac's stream-format 'none' to 'raw'

Renames aac's stream-format from previous commits from none to
raw
parent cbc0b053
......@@ -1792,14 +1792,14 @@ gst_qt_mux_audio_sink_set_caps (GstPad * pad, GstCaps * caps)
/* check stream-format */
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 (qtmux, "Unsupported AAC stream-format %s, "
"please use 'none'", stream_format);
"please use 'raw'", stream_format);
goto refuse_caps;
}
} else {
GST_WARNING_OBJECT (qtmux, "No stream-format present in caps, "
"assuming 'none'");
"assuming 'raw'");
}
if (!codec_data || GST_BUFFER_SIZE (codec_data) < 2)
......
......@@ -119,7 +119,7 @@
#define AAC_CAPS \
"audio/mpeg, " \
"mpegversion = (int) 4, " \
"stream-format = (string) none, " \
"stream-format = (string) raw, " \
COMMON_AUDIO_CAPS (8, MAX)
#define AMR_CAPS \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment