mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 21:35:44 +00:00
gst/typefind/gsttypefindfunctions.c: Added flv file typefind (video/x-flv).
Original commit message from CVS: * gst/typefind/gsttypefindfunctions.c: (plugin_init): Added flv file typefind (video/x-flv).
This commit is contained in:
parent
b6d4e180ce
commit
705122a2c2
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-02-10 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
|
||||
Added flv file typefind (video/x-flv).
|
||||
|
||||
2006-02-10 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
|
||||
|
|
|
@ -2094,6 +2094,7 @@ plugin_init (GstPlugin * plugin)
|
|||
static gchar *msdos_exts[] = { "dll", "exe", "ocx", "sys", "scr",
|
||||
"msstyles", "cpl", NULL
|
||||
};
|
||||
static gchar *flv_exts[] = { "flv", NULL };
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (type_find_debug, "typefindfunctions",
|
||||
GST_DEBUG_FG_GREEN | GST_DEBUG_BG_RED, "generic type find functions");
|
||||
|
@ -2155,6 +2156,8 @@ plugin_init (GstPlugin * plugin)
|
|||
GST_RANK_SECONDARY, rm_exts, ".RMF", 4, GST_TYPE_FIND_MAXIMUM);
|
||||
TYPE_FIND_REGISTER (plugin, "application/x-shockwave-flash",
|
||||
GST_RANK_SECONDARY, swf_type_find, swf_exts, SWF_CAPS, NULL, NULL);
|
||||
TYPE_FIND_REGISTER_START_WITH (plugin, "video/x-flv", GST_RANK_SECONDARY,
|
||||
flv_exts, "FLV", 3, GST_TYPE_FIND_MAXIMUM);
|
||||
TYPE_FIND_REGISTER (plugin, "text/plain", GST_RANK_MARGINAL, utf8_type_find,
|
||||
utf8_exts, UTF8_CAPS, NULL, NULL);
|
||||
TYPE_FIND_REGISTER (plugin, "text/uri-list", GST_RANK_MARGINAL, uri_type_find,
|
||||
|
|
Loading…
Reference in a new issue