mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
qtdemux: handle ac-3 audio
fix demuxing of m4v streams with ac-3 audio Fixes #580554
This commit is contained in:
parent
5a7edcbd81
commit
6cfa856381
1 changed files with 2 additions and 0 deletions
|
@ -5635,8 +5635,10 @@ qtdemux_audio_caps (GstQTDemux * qtdemux, QtDemuxStream * stream,
|
||||||
"mpegversion", G_TYPE_INT, 1, NULL);
|
"mpegversion", G_TYPE_INT, 1, NULL);
|
||||||
break;
|
break;
|
||||||
case 0x20736d:
|
case 0x20736d:
|
||||||
|
case GST_MAKE_FOURCC ('a', 'c', '-', '3'):
|
||||||
_codec ("AC-3 audio");
|
_codec ("AC-3 audio");
|
||||||
caps = gst_caps_new_simple ("audio/x-ac3", NULL);
|
caps = gst_caps_new_simple ("audio/x-ac3", NULL);
|
||||||
|
stream->sampled = TRUE;
|
||||||
break;
|
break;
|
||||||
case GST_MAKE_FOURCC ('M', 'A', 'C', '3'):
|
case GST_MAKE_FOURCC ('M', 'A', 'C', '3'):
|
||||||
_codec ("MACE-3");
|
_codec ("MACE-3");
|
||||||
|
|
Loading…
Reference in a new issue