summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2020-04-22 15:32:31 -0400
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>2020-09-25 04:07:49 +0000
commitc4074a2a0feda5b0f6337d40f7b5febccfaef51a (patch)
tree655f9d690e72714e4a0558544100c82cc8135156 /gst
parent9d3ec5586f301750d473b32b39c7013a680d8ba1 (diff)
qtdemux: Add 'mp3 ' fourcc that VLC seems to produce now
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/740>
Diffstat (limited to 'gst')
-rw-r--r--gst/isomp4/fourcc.h1
-rw-r--r--gst/isomp4/qtdemux.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/gst/isomp4/fourcc.h b/gst/isomp4/fourcc.h
index 6c425e6f9..9a048a378 100644
--- a/gst/isomp4/fourcc.h
+++ b/gst/isomp4/fourcc.h
@@ -173,6 +173,7 @@ G_BEGIN_DECLS
#define FOURCC_mhlr GST_MAKE_FOURCC('m','h','l','r')
#define FOURCC_minf GST_MAKE_FOURCC('m','i','n','f')
#define FOURCC_moov GST_MAKE_FOURCC('m','o','o','v')
+#define FOURCC_mp3_ GST_MAKE_FOURCC('m','p','3',' ')
#define FOURCC_mp4a GST_MAKE_FOURCC('m','p','4','a')
#define FOURCC_mp4s GST_MAKE_FOURCC('m','p','4','s')
#define FOURCC_mp4s GST_MAKE_FOURCC('m','p','4','s')
diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c
index 61fec02cb..f22890eb9 100644
--- a/gst/isomp4/qtdemux.c
+++ b/gst/isomp4/qtdemux.c
@@ -15269,6 +15269,7 @@ qtdemux_audio_caps (GstQTDemux * qtdemux, QtDemuxStream * stream,
case 0x6d730055:
/* MPEG layer 3, CBR only (pre QT4.1) */
case FOURCC__mp3:
+ case FOURCC_mp3_:
_codec ("MPEG-1 layer 3");
/* MPEG layer 3, CBR & VBR (QT4.1 and later) */
caps = gst_caps_new_simple ("audio/mpeg", "layer", G_TYPE_INT, 3,