mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
parent
8e5e2dbe49
commit
0230f7ed9e
1 changed files with 15 additions and 0 deletions
|
@ -2475,6 +2475,21 @@ mod_type_find (GstTypeFind * tf, gpointer unused)
|
|||
return;
|
||||
}
|
||||
}
|
||||
/* STM */
|
||||
if ((data = gst_type_find_peek (tf, 20, 8)) != NULL) {
|
||||
if (strncasecmp ((gchar *) data, "!Scream!", 8) == 0 ||
|
||||
strncasecmp ((gchar *) data, "BMOD2STM", 8) == 0) {
|
||||
guint8 *id, *stmtype;
|
||||
|
||||
if ((id = gst_type_find_peek (tf, 28, 1)) == NULL)
|
||||
return;
|
||||
if ((stmtype = gst_type_find_peek (tf, 29, 1)) == NULL)
|
||||
return;
|
||||
if (*id == 0x1A && *stmtype == 2)
|
||||
gst_type_find_suggest (tf, GST_TYPE_FIND_MAXIMUM, MOD_CAPS);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*** application/x-shockwave-flash ***/
|
||||
|
|
Loading…
Reference in a new issue