mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
qtdemux: Add some more raw audio fourccs to the header instead of duplicating them
This commit is contained in:
parent
42e7864e90
commit
65b30ecce6
2 changed files with 8 additions and 4 deletions
|
@ -156,7 +156,11 @@ G_BEGIN_DECLS
|
|||
#define FOURCC_ilst GST_MAKE_FOURCC('i','l','s','t')
|
||||
#define FOURCC_ima4 GST_MAKE_FOURCC('i','m','a','4')
|
||||
#define FOURCC_imap GST_MAKE_FOURCC('i','m','a','p')
|
||||
#define FOURCC_s16l GST_MAKE_FOURCC('s','1','6','l')
|
||||
#define FOURCC_in24 GST_MAKE_FOURCC('i','n','2','4')
|
||||
#define FOURCC_in32 GST_MAKE_FOURCC('i','n','3','2')
|
||||
#define FOURCC_fl64 GST_MAKE_FOURCC('f','l','6','4')
|
||||
#define FOURCC_fl32 GST_MAKE_FOURCC('f','l','3','2')
|
||||
#define FOURCC_jp2c GST_MAKE_FOURCC('j','p','2','c')
|
||||
#define FOURCC_jpeg GST_MAKE_FOURCC('j','p','e','g')
|
||||
#define FOURCC_keyw GST_MAKE_FOURCC('k','e','y','w')
|
||||
|
|
|
@ -15555,14 +15555,14 @@ qtdemux_audio_caps (GstQTDemux * qtdemux, QtDemuxStream * stream,
|
|||
stream->alignment = round_up_pow2 (stream->alignment);
|
||||
break;
|
||||
}
|
||||
case GST_MAKE_FOURCC ('f', 'l', '6', '4'):
|
||||
case FOURCC_fl64:
|
||||
_codec ("Raw 64-bit floating-point audio");
|
||||
caps = gst_caps_new_simple ("audio/x-raw",
|
||||
"format", G_TYPE_STRING, "F64BE",
|
||||
"layout", G_TYPE_STRING, "interleaved", NULL);
|
||||
stream->alignment = 8;
|
||||
break;
|
||||
case GST_MAKE_FOURCC ('f', 'l', '3', '2'):
|
||||
case FOURCC_fl32:
|
||||
_codec ("Raw 32-bit floating-point audio");
|
||||
caps = gst_caps_new_simple ("audio/x-raw",
|
||||
"format", G_TYPE_STRING, "F32BE",
|
||||
|
@ -15578,14 +15578,14 @@ qtdemux_audio_caps (GstQTDemux * qtdemux, QtDemuxStream * stream,
|
|||
"layout", G_TYPE_STRING, "interleaved", NULL);
|
||||
stream->alignment = 4;
|
||||
break;
|
||||
case GST_MAKE_FOURCC ('i', 'n', '3', '2'):
|
||||
case FOURCC_in32:
|
||||
_codec ("Raw 32-bit PCM audio");
|
||||
caps = gst_caps_new_simple ("audio/x-raw",
|
||||
"format", G_TYPE_STRING, "S32BE",
|
||||
"layout", G_TYPE_STRING, "interleaved", NULL);
|
||||
stream->alignment = 4;
|
||||
break;
|
||||
case GST_MAKE_FOURCC ('s', '1', '6', 'l'):
|
||||
case FOURCC_s16l:
|
||||
_codec ("Raw 16-bit PCM audio");
|
||||
caps = gst_caps_new_simple ("audio/x-raw",
|
||||
"format", G_TYPE_STRING, "S16LE",
|
||||
|
|
Loading…
Reference in a new issue