mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
qtdemux: add support for e(a)c-3 audio
This commit is contained in:
parent
44bf274b60
commit
bdb4019678
1 changed files with 6 additions and 0 deletions
|
@ -9072,6 +9072,12 @@ 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 ('e', 'c', '-', '3'):
|
||||||
|
_codec ("EAC-3 audio");
|
||||||
|
caps = gst_caps_new_simple ("audio/x-eac3",
|
||||||
|
"framed", G_TYPE_BOOLEAN, TRUE, NULL);
|
||||||
|
stream->sampled = TRUE;
|
||||||
|
break;
|
||||||
case GST_MAKE_FOURCC ('a', 'c', '-', '3'):
|
case GST_MAKE_FOURCC ('a', 'c', '-', '3'):
|
||||||
_codec ("AC-3 audio");
|
_codec ("AC-3 audio");
|
||||||
caps = gst_caps_new_simple ("audio/x-ac3",
|
caps = gst_caps_new_simple ("audio/x-ac3",
|
||||||
|
|
Loading…
Reference in a new issue