Note that there is already a AMF detection for a different
magic, I'm not sure if that's a different format with the
same initials or not. AMF is used for a few different formats
(including video), so...
This fixes playbin2 playing Asylum modules.
https://bugzilla.gnome.org/show_bug.cgi?id=658514
return;
}
}
+ /* AMF */
+ if ((data = gst_type_find_peek (tf, 0, 19)) != NULL) {
+ if (memcmp (data, "ASYLUM Music Format", 19) == 0) {
+ gst_type_find_suggest (tf, GST_TYPE_FIND_MAXIMUM, MOD_CAPS);
+ return;
+ }
+ }
}
/*** application/x-shockwave-flash ***/