From: Stéphane Cerveau Date: Fri, 6 Aug 2021 15:41:19 +0000 (+0200) Subject: avdemux: add xwma support X-Git-Tag: 1.19.3~499^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=72d0d288115e25fc21bfe0113d8cea7598cc08ab;p=platform%2Fupstream%2Fgstreamer.git avdemux: add xwma support Add xwma tested with the media b8edfb1e970ed7892f35b34a1ef36fee_wma.wav from this ticket: http://trac.ffmpeg.org/ticket/9358 Part-of: --- diff --git a/docs/gst_plugins_cache.json b/docs/gst_plugins_cache.json index dbe88b7..534d57c 100644 --- a/docs/gst_plugins_cache.json +++ b/docs/gst_plugins_cache.json @@ -25882,6 +25882,37 @@ "rank": "marginal", "signals": {} }, + "avdemux_xwma": { + "author": "Wim Taymans , Ronald Bultje , Edward Hervey ", + "description": "libav Microsoft xWMA demuxer", + "hierarchy": [ + "avdemux_xwma", + "GstElement", + "GstObject", + "GInitiallyUnowned", + "GObject" + ], + "klass": "Codec/Demuxer", + "long-name": "libav Microsoft xWMA demuxer", + "pad-templates": { + "audio_%%u": { + "caps": "ANY", + "direction": "src", + "presence": "sometimes" + }, + "sink": { + "caps": "application/x-gst-av-xwma:\n", + "direction": "sink", + "presence": "always" + }, + "video_%%u": { + "caps": "ANY", + "direction": "src", + "presence": "sometimes" + } + }, + "rank": "marginal" + }, "avdemux_yuv4mpegpipe": { "author": "Wim Taymans , Ronald Bultje , Edward Hervey ", "description": "libav YUV4MPEG pipe demuxer", diff --git a/ext/libav/gstavdemux.c b/ext/libav/gstavdemux.c index 80a0920..37de3fa 100644 --- a/ext/libav/gstavdemux.c +++ b/ext/libav/gstavdemux.c @@ -2107,6 +2107,11 @@ gst_ffmpegdemux_register (GstPlugin * plugin) /* Set the rank of demuxers known to work to MARGINAL. * Set demuxers for which we already have another implementation to NONE * Set All others to NONE*/ + /** + * element-avdemux_xwma + * + * Since: 1.20 + */ if (!strcmp (in_plugin->name, "wsvqa") || !strcmp (in_plugin->name, "wsaud") || !strcmp (in_plugin->name, "wc3movie") || @@ -2134,6 +2139,7 @@ gst_ffmpegdemux_register (GstPlugin * plugin) !strcmp (in_plugin->name, "daud") || !strcmp (in_plugin->name, "avs") || !strcmp (in_plugin->name, "aiff") || + !strcmp (in_plugin->name, "xwma") || !strcmp (in_plugin->name, "4xm") || !strcmp (in_plugin->name, "yuv4mpegpipe") || !strcmp (in_plugin->name, "pva") ||