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:
5a7edcb
)
qtdemux: handle ac-3 audio
author
Hans de Goede
<jwrdegoede at fedoraproject.org>
Wed, 29 Apr 2009 10:19:27 +0000
(12:19 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 29 Apr 2009 10:19:27 +0000
(12:19 +0200)
fix demuxing of m4v streams with ac-3 audio
Fixes #580554
gst/qtdemux/qtdemux.c
patch
|
blob
|
history
diff --git
a/gst/qtdemux/qtdemux.c
b/gst/qtdemux/qtdemux.c
index
b2db452
..
6440205
100644
(file)
--- a/
gst/qtdemux/qtdemux.c
+++ b/
gst/qtdemux/qtdemux.c
@@
-5635,8
+5635,10
@@
qtdemux_audio_caps (GstQTDemux * qtdemux, QtDemuxStream * stream,
"mpegversion", G_TYPE_INT, 1, NULL);
break;
case 0x20736d:
+ case GST_MAKE_FOURCC ('a', 'c', '-', '3'):
_codec ("AC-3 audio");
caps = gst_caps_new_simple ("audio/x-ac3", NULL);
+ stream->sampled = TRUE;
break;
case GST_MAKE_FOURCC ('M', 'A', 'C', '3'):
_codec ("MACE-3");