mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
typefind: recognize Asylum modules
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
This commit is contained in:
parent
25939e0218
commit
4095551b31
1 changed files with 7 additions and 0 deletions
|
@ -2888,6 +2888,13 @@ mod_type_find (GstTypeFind * tf, gpointer unused)
|
|||
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 ***/
|
||||
|
|
Loading…
Reference in a new issue