Commit 04e3fc3f authored by Ville Skyttä's avatar Ville Skyttä Committed by Tim-Philipp Müller

typefind: Treat *.umx (Unreal Music Package) as audio/x-mod

https://bugzilla.gnome.org//show_bug.cgi?id=752436
parent a2e4ccc3
......@@ -3492,6 +3492,12 @@ mod_type_find (GstTypeFind * tf, gpointer unused)
goto suggest_audio_mod_caps;
}
}
/* UMX */
if (memcmp (data, "\xC1\x83\x2A\x9E", 4) == 0) {
mod_type = "umx";
probability = GST_TYPE_FIND_POSSIBLE;
goto suggest_audio_mod_caps;
}
}
/* FAR (Farandole) (secondary detection) */
if ((data = gst_type_find_peek (tf, 44, 3)) != NULL) {
......@@ -5546,7 +5552,7 @@ plugin_init (GstPlugin * plugin)
tta_type_find, "tta", TTA_CAPS, NULL, NULL);
TYPE_FIND_REGISTER (plugin, "audio/x-mod", GST_RANK_SECONDARY, mod_type_find,
"669,amf,ams,dbm,digi,dmf,dsm,gdm,far,imf,it,j2b,mdl,med,mod,mt2,mtm,"
"okt,psm,ptm,sam,s3m,stm,stx,ult,xm", MOD_CAPS, NULL, NULL);
"okt,psm,ptm,sam,s3m,stm,stx,ult,umx,xm", MOD_CAPS, NULL, NULL);
TYPE_FIND_REGISTER (plugin, "audio/mpeg", GST_RANK_PRIMARY, mp3_type_find,
"mp3,mp2,mp1,mpga", MP3_CAPS, NULL, NULL);
TYPE_FIND_REGISTER (plugin, "audio/x-ac3", GST_RANK_PRIMARY, ac3_type_find,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment