diff --git a/gst/isomp4/gstqtmux.c b/gst/isomp4/gstqtmux.c index e83095a0f7..7f20f44f61 100644 --- a/gst/isomp4/gstqtmux.c +++ b/gst/isomp4/gstqtmux.c @@ -3555,6 +3555,8 @@ gst_qt_mux_audio_sink_set_caps (GstQTPad * qtpad, GstCaps * caps) entry.fourcc = FOURCC_sowt; else if (info.finfo->endianness == G_BIG_ENDIAN) entry.fourcc = FOURCC_twos; + else + entry.fourcc = FOURCC_sowt; /* maximum backward compatibility; only new version for > 16 bit */ if (info.finfo->depth <= 16) entry.version = 0; diff --git a/gst/isomp4/gstqtmuxmap.c b/gst/isomp4/gstqtmuxmap.c index 006f16d33c..1a8b6cec09 100644 --- a/gst/isomp4/gstqtmuxmap.c +++ b/gst/isomp4/gstqtmuxmap.c @@ -97,15 +97,11 @@ COMMON_AUDIO_CAPS (2, MAX) #define PCM_CAPS_FULL \ - PCM_CAPS "; " \ "audio/x-raw, " \ - "format = (string) { S24LE, S24BE }, " \ + "format = (string) { S32LE, S32BE, S24LE, S24BE }, " \ "layout = (string) interleaved, " \ COMMON_AUDIO_CAPS (2, MAX) "; " \ - "audio/x-raw, " \ - "format = (string) { S32LE, S32BE }, " \ - "layout = (string) interleaved, " \ - COMMON_AUDIO_CAPS (2, MAX) + PCM_CAPS #define MP3_CAPS \ "audio/mpeg, " \