mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
Add support for musepack (mpc) sv8 audio
https://bugzilla.gnome.org/show_bug.cgi?id=732682
This commit is contained in:
parent
7d3c7109ac
commit
f92bf2618c
2 changed files with 4 additions and 1 deletions
|
@ -3248,6 +3248,8 @@ gst_ffmpeg_formatid_to_caps (const gchar * format_name)
|
|||
"y4mversion", G_TYPE_INT, 2, NULL);
|
||||
} else if (!strcmp (format_name, "mpc")) {
|
||||
caps = gst_caps_from_string ("audio/x-musepack, streamversion = (int) 7");
|
||||
} else if (!strcmp (format_name, "mpc8")) {
|
||||
caps = gst_caps_from_string ("audio/x-musepack, streamversion = (int) 8");
|
||||
} else if (!strcmp (format_name, "vqf")) {
|
||||
caps = gst_caps_from_string ("audio/x-vqf");
|
||||
} else if (!strcmp (format_name, "nsv")) {
|
||||
|
|
|
@ -2008,7 +2008,8 @@ gst_ffmpegdemux_register (GstPlugin * plugin)
|
|||
!strcmp (in_plugin->name, "4xm") ||
|
||||
!strcmp (in_plugin->name, "yuv4mpegpipe") ||
|
||||
!strcmp (in_plugin->name, "pva") ||
|
||||
!strcmp (in_plugin->name, "mpc") || !strcmp (in_plugin->name, "gif"))
|
||||
!strcmp (in_plugin->name, "mpc") ||
|
||||
!strcmp (in_plugin->name, "mpc8") || !strcmp (in_plugin->name, "gif"))
|
||||
rank = GST_RANK_MARGINAL;
|
||||
else {
|
||||
GST_DEBUG ("ignoring %s", in_plugin->name);
|
||||
|
|
Loading…
Reference in a new issue