Add support for musepack (mpc) sv8 audio

https://bugzilla.gnome.org/show_bug.cgi?id=732682
This commit is contained in:
James Smith 2015-07-22 09:44:27 +01:00 committed by Tim-Philipp Müller
parent 7d3c7109ac
commit f92bf2618c
2 changed files with 4 additions and 1 deletions

View file

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

View file

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