gst/typefind/gsttypefindfunctions.c: Add typefinder for Interplay's MVE format (...
authorJens Granseuer <jensgr@gmx.net>
Thu, 3 Aug 2006 09:01:25 +0000 (09:01 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 3 Aug 2006 09:01:25 +0000 (09:01 +0000)
Original commit message from CVS:
Patch by: Jens Granseuer  <jensgr at gmx net>
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
Add typefinder for Interplay's MVE format (#348973).

ChangeLog
gst/typefind/gsttypefindfunctions.c

index 47e3f10..bc4b5c2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-08-03  Tim-Philipp Müller  <tim at centricular dot net>
+
+       Patch by: Jens Granseuer  <jensgr at gmx net>
+
+       * gst/typefind/gsttypefindfunctions.c: (plugin_init):
+         Add typefinder for Interplay's MVE format (#348973).
+
 2006-08-02  Wim Taymans  <wim@fluendo.com>
 
        Patch by: Marcel Moreaux <marcelm at luon dot net>
index 7c73b97..68becc6 100644 (file)
@@ -2417,6 +2417,7 @@ plugin_init (GstPlugin * plugin)
   static gchar *bmp_exts[] = { "bmp", NULL };
   static gchar *tiff_exts[] = { "tif", "tiff", NULL };
   static gchar *matroska_exts[] = { "mkv", "mka", NULL };
+  static gchar *mve_exts[] = { "mve", NULL };
   static gchar *dv_exts[] = { "dv", "dif", NULL };
   static gchar *amr_exts[] = { "amr", NULL };
   static gchar *ilbc_exts[] = { "ilbc", NULL };
@@ -2556,6 +2557,9 @@ plugin_init (GstPlugin * plugin)
       tiff_exts, TIFF_CAPS, NULL, NULL);
   TYPE_FIND_REGISTER (plugin, "video/x-matroska", GST_RANK_PRIMARY,
       matroska_type_find, matroska_exts, MATROSKA_CAPS, NULL, NULL);
+  TYPE_FIND_REGISTER_START_WITH (plugin, "video/x-mve", GST_RANK_SECONDARY,
+      mve_exts, "Interplay MVE File\032\000\032\000\000\001\063\021", 26,
+      GST_TYPE_FIND_MAXIMUM);
   TYPE_FIND_REGISTER (plugin, "video/x-dv", GST_RANK_SECONDARY, dv_type_find,
       dv_exts, DV_CAPS, NULL, NULL);
   TYPE_FIND_REGISTER_START_WITH (plugin, "audio/x-amr-nb-sh", GST_RANK_PRIMARY,