mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 05:01:23 +00:00
typefind: add photoshop typefind functions
Add photoshop typefind functions. Fixes #574516.
This commit is contained in:
parent
72533ecccc
commit
db7ecda64f
1 changed files with 4 additions and 0 deletions
|
@ -3197,6 +3197,7 @@ plugin_init (GstPlugin * plugin)
|
||||||
static gchar *mxf_exts[] = { "mxf", NULL };
|
static gchar *mxf_exts[] = { "mxf", NULL };
|
||||||
static gchar *msword_exts[] = { "doc", NULL };
|
static gchar *msword_exts[] = { "doc", NULL };
|
||||||
static gchar *dsstore_exts[] = { "DS_Store", NULL };
|
static gchar *dsstore_exts[] = { "DS_Store", NULL };
|
||||||
|
static gchar *psd_exts[] = { "psd", NULL };
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_INIT (type_find_debug, "typefindfunctions",
|
GST_DEBUG_CATEGORY_INIT (type_find_debug, "typefindfunctions",
|
||||||
GST_DEBUG_FG_GREEN | GST_DEBUG_BG_RED, "generic type find functions");
|
GST_DEBUG_FG_GREEN | GST_DEBUG_BG_RED, "generic type find functions");
|
||||||
|
@ -3425,6 +3426,9 @@ plugin_init (GstPlugin * plugin)
|
||||||
TYPE_FIND_REGISTER_START_WITH (plugin, "application/octet-stream",
|
TYPE_FIND_REGISTER_START_WITH (plugin, "application/octet-stream",
|
||||||
GST_RANK_SECONDARY, dsstore_exts, "\000\000\000\001Bud1", 8,
|
GST_RANK_SECONDARY, dsstore_exts, "\000\000\000\001Bud1", 8,
|
||||||
GST_TYPE_FIND_LIKELY);
|
GST_TYPE_FIND_LIKELY);
|
||||||
|
TYPE_FIND_REGISTER_START_WITH (plugin, "image/vnd.adobe.photoshop",
|
||||||
|
GST_RANK_SECONDARY, psd_exts, "8BPS\000\001\000\000\000\000", 10,
|
||||||
|
GST_TYPE_FIND_LIKELY);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue