summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/libav/gstavcodecmap.c2
-rw-r--r--ext/libav/gstavdemux.c3
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);