From 6cfa856381a1aefe55f25274ec720da21e3e0f29 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Wed, 29 Apr 2009 12:19:27 +0200 Subject: [PATCH] qtdemux: handle ac-3 audio fix demuxing of m4v streams with ac-3 audio Fixes #580554 --- gst/qtdemux/qtdemux.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index b2db45274b..64402051b3 100644 --- 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");