From c4074a2a0feda5b0f6337d40f7b5febccfaef51a Mon Sep 17 00:00:00 2001 From: Olivier CrĂȘte Date: Wed, 22 Apr 2020 15:32:31 -0400 Subject: qtdemux: Add 'mp3 ' fourcc that VLC seems to produce now Part-of: --- gst/isomp4/fourcc.h | 1 + gst/isomp4/qtdemux.c | 1 + 2 files changed, 2 insertions(+) (limited to 'gst') 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, -- cgit v1.2.3