diff options
author | Stéphane Cerveau <scerveau@collabora.com> | 2021-08-06 17:41:19 +0200 |
---|---|---|
committer | Stéphane Cerveau <scerveau@collabora.com> | 2021-08-09 10:27:45 +0200 |
commit | 72d0d288115e25fc21bfe0113d8cea7598cc08ab (patch) | |
tree | fc6e7a96b9ddfac4b9c19e7c4b1d8f16359a0c70 | |
parent | 17aca8a8c2b581b11b539a6a138241302cce7290 (diff) | |
download | gst-libav-72d0d288115e25fc21bfe0113d8cea7598cc08ab.tar.gz |
avdemux: add xwma support
Add xwma tested with the media
b8edfb1e970ed7892f35b34a1ef36fee_wma.wav
from this ticket:
http://trac.ffmpeg.org/ticket/9358
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-libav/-/merge_requests/138>
-rw-r--r-- | docs/gst_plugins_cache.json | 31 | ||||
-rw-r--r-- | ext/libav/gstavdemux.c | 6 |
2 files changed, 37 insertions, 0 deletions
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 <wim@fluendo.com>, Ronald Bultje <rbultje@ronald.bitfreak.net>, Edward Hervey <bilboed@bilboed.com>", + "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 <wim@fluendo.com>, Ronald Bultje <rbultje@ronald.bitfreak.net>, Edward Hervey <bilboed@bilboed.com>", "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") || |