mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 06:16:36 +00:00
gst/typefind/gsttypefindfunctions.c: Typefind video/mj2 and image/jp2 ISO JPEG2000 mime types.
Original commit message from CVS: * gst/typefind/gsttypefindfunctions.c: (plugin_init): Typefind video/mj2 and image/jp2 ISO JPEG2000 mime types. Fixes #550638.
This commit is contained in:
parent
1875564b65
commit
ec6afbd321
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-09-03 Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
|
||||
|
||||
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
|
||||
Typefind video/mj2 and image/jp2 ISO JPEG2000 mime types.
|
||||
Fixes #550638.
|
||||
|
||||
2008-09-03 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* configure.ac:
|
||||
|
|
|
@ -2954,6 +2954,8 @@ plugin_init (GstPlugin * plugin)
|
|||
static gchar *ogg_exts[] = { "anx", "ogg", "ogm", NULL };
|
||||
static gchar *qt_exts[] = { "mov", NULL };
|
||||
static gchar *qtif_exts[] = { "qif", "qtif", "qti", NULL };
|
||||
static gchar *mj2_exts[] = { "mj2", NULL };
|
||||
static gchar *jp2_exts[] = { "jp2", NULL };
|
||||
static gchar *rm_exts[] = { "ra", "ram", "rm", "rmvb", NULL };
|
||||
static gchar *swf_exts[] = { "swf", "swfl", NULL };
|
||||
static gchar *utf8_exts[] = { "txt", NULL };
|
||||
|
@ -3085,6 +3087,12 @@ plugin_init (GstPlugin * plugin)
|
|||
qt_type_find, qt_exts, QT_CAPS, NULL, NULL);
|
||||
TYPE_FIND_REGISTER (plugin, "image/x-quicktime", GST_RANK_SECONDARY,
|
||||
qtif_type_find, qtif_exts, QTIF_CAPS, NULL, NULL);
|
||||
TYPE_FIND_REGISTER_START_WITH (plugin, "image/jp2", GST_RANK_PRIMARY,
|
||||
jp2_exts, "\000\000\000\014jP \015\012\207\012\000\000\000\024ftypjp2 ",
|
||||
24, GST_TYPE_FIND_MAXIMUM);
|
||||
TYPE_FIND_REGISTER_START_WITH (plugin, "video/mj2", GST_RANK_PRIMARY,
|
||||
mj2_exts, "\000\000\000\014jP \015\012\207\012\000\000\000\024ftypmjp2",
|
||||
24, GST_TYPE_FIND_MAXIMUM);
|
||||
|
||||
TYPE_FIND_REGISTER (plugin, "text/html", GST_RANK_SECONDARY, html_type_find,
|
||||
html_exts, HTML_CAPS, NULL, NULL);
|
||||
|
|
Loading…
Reference in a new issue