Commit 8a878af2 authored by Wim Taymans's avatar Wim Taymans
Browse files

Add a52 audio

Original commit message from CVS:
Add a52 audio
parent dc6d1e17
common @ 895baa0f
Subproject commit 5b6a58f419c3d6fdd4abbe9943cd17a4fd2addcc
Subproject commit 895baa0fa0f829ef752424a31bbb2cf68e63842e
......@@ -147,6 +147,11 @@ GST_PAD_TEMPLATE_FACTORY (src_audio_templ,
"audio/x-mp3",
NULL
),
GST_CAPS_NEW (
"avidemux_src_audio",
"audio/a52",
NULL
),
GST_CAPS_NEW (
"avidemux_src_audio",
"application/x-ogg",
......@@ -560,6 +565,14 @@ gst_avi_demux_strf_auds (GstAviDemux *avi_demux)
"application/x-ogg",
NULL);
break;
case GST_RIFF_WAVE_FORMAT_A52:
newcaps = gst_caps_new ("avidemux_audio_src",
"audio/a52",
NULL);
break;
default:
g_warning ("avidemux: unkown audio format %d", GUINT16_FROM_LE(strf->format));
break;
}
if (newcaps) capslist = gst_caps_append(capslist, newcaps);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment