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>
This commit is contained in:
Stéphane Cerveau 2021-08-06 17:41:19 +02:00
parent 17aca8a8c2
commit 72d0d28811
2 changed files with 37 additions and 0 deletions

View file

@ -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",

View file

@ -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") ||