diff options
author | James Smith <smithjd15@gmail.com> | 2015-07-22 09:44:27 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2015-07-22 09:44:27 +0100 |
commit | f92bf2618c84eed35204ee0a59bb3c5b6aa05f18 (patch) | |
tree | b967325d9f8553ee8034ed7dbe9a875fd65721d2 | |
parent | 7d3c7109acc2e153f02ecb3f56c530b916a9382e (diff) |
Add support for musepack (mpc) sv8 audio
https://bugzilla.gnome.org/show_bug.cgi?id=732682
-rw-r--r-- | ext/libav/gstavcodecmap.c | 2 | ||||
-rw-r--r-- | ext/libav/gstavdemux.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ext/libav/gstavcodecmap.c b/ext/libav/gstavcodecmap.c index 5895587..23bf04e 100644 --- a/ext/libav/gstavcodecmap.c +++ b/ext/libav/gstavcodecmap.c @@ -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")) { diff --git a/ext/libav/gstavdemux.c b/ext/libav/gstavdemux.c index 37eaabb..2ff1318 100644 --- a/ext/libav/gstavdemux.c +++ b/ext/libav/gstavdemux.c @@ -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); |