projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57939fd
)
qtdemux: add S16L support
author
Emeric Grange
<egrange@gopro.com>
Tue, 14 Mar 2017 09:09:46 +0000
(10:09 +0100)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 14 Mar 2017 12:55:44 +0000
(14:55 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=780022
gst/isomp4/qtdemux.c
patch
|
blob
|
history
diff --git
a/gst/isomp4/qtdemux.c
b/gst/isomp4/qtdemux.c
index 2f597db63acb86b3c4234b2c984e75ee1f902cad..9e55a6cd6ce6a76429f0433da652672771afbb5e 100644
(file)
--- a/
gst/isomp4/qtdemux.c
+++ b/
gst/isomp4/qtdemux.c
@@
-13866,6
+13866,13
@@
qtdemux_audio_caps (GstQTDemux * qtdemux, QtDemuxStream * stream,
"layout", G_TYPE_STRING, "interleaved", NULL);
stream->alignment = 4;
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:
_codec ("Mu-law audio");
caps = gst_caps_new_empty_simple ("audio/x-mulaw");