mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
qtdemux: add S16L support
https://bugzilla.gnome.org/show_bug.cgi?id=780022
This commit is contained in:
parent
57939fd98a
commit
7bdcd57980
1 changed files with 7 additions and 0 deletions
|
@ -13866,6 +13866,13 @@ qtdemux_audio_caps (GstQTDemux * qtdemux, QtDemuxStream * stream,
|
||||||
"layout", G_TYPE_STRING, "interleaved", NULL);
|
"layout", G_TYPE_STRING, "interleaved", NULL);
|
||||||
stream->alignment = 4;
|
stream->alignment = 4;
|
||||||
break;
|
break;
|
||||||
|
case GST_MAKE_FOURCC ('s', '1', '6', 'l'):
|
||||||
|
_codec ("Raw 16-bit PCM audio");
|
||||||
|
caps = gst_caps_new_simple ("audio/x-raw",
|
||||||
|
"format", G_TYPE_STRING, "S16LE",
|
||||||
|
"layout", G_TYPE_STRING, "interleaved", NULL);
|
||||||
|
stream->alignment = 2;
|
||||||
|
break;
|
||||||
case FOURCC_ulaw:
|
case FOURCC_ulaw:
|
||||||
_codec ("Mu-law audio");
|
_codec ("Mu-law audio");
|
||||||
caps = gst_caps_new_empty_simple ("audio/x-mulaw");
|
caps = gst_caps_new_empty_simple ("audio/x-mulaw");
|
||||||
|
|
Loading…
Reference in a new issue