mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
avdemux: Whitelist the demuxers required for GC/Wii/WiiU ADPCM streams
Required to play .brstm (GameCube/Wii) and .bfstm (Wii U) files. Needs at least avdec_adpcm_thp too, but that one is already accessible. https://bugzilla.gnome.org/show_bug.cgi?id=789139
This commit is contained in:
parent
f86dfde0a4
commit
a771795005
2 changed files with 8 additions and 1 deletions
|
@ -3498,6 +3498,10 @@ gst_ffmpeg_formatid_to_caps (const gchar * format_name)
|
|||
caps = gst_caps_from_string ("audio/x-voc");
|
||||
} else if (!strcmp (format_name, "pva")) {
|
||||
caps = gst_caps_from_string ("video/x-pva");
|
||||
} else if (!strcmp (format_name, "brstm")) {
|
||||
caps = gst_caps_from_string ("audio/x-brstm");
|
||||
} else if (!strcmp (format_name, "bfstm")) {
|
||||
caps = gst_caps_from_string ("audio/x-bfstm");
|
||||
} else {
|
||||
gchar *name;
|
||||
|
||||
|
|
|
@ -2084,7 +2084,10 @@ gst_ffmpegdemux_register (GstPlugin * plugin)
|
|||
!strcmp (in_plugin->name, "yuv4mpegpipe") ||
|
||||
!strcmp (in_plugin->name, "pva") ||
|
||||
!strcmp (in_plugin->name, "mpc") ||
|
||||
!strcmp (in_plugin->name, "mpc8") || !strcmp (in_plugin->name, "ivf"))
|
||||
!strcmp (in_plugin->name, "mpc8") ||
|
||||
!strcmp (in_plugin->name, "ivf") ||
|
||||
!strcmp (in_plugin->name, "brstm") ||
|
||||
!strcmp (in_plugin->name, "bfstm"))
|
||||
rank = GST_RANK_MARGINAL;
|
||||
else {
|
||||
GST_DEBUG ("ignoring %s", in_plugin->name);
|
||||
|
|
Loading…
Reference in a new issue