gst/typefind/gsttypefindfunctions.c: Comment smoke typefinder for now. The smokedec...
authorSebastian Dröge <slomo@circular-chaos.org>
Mon, 25 Feb 2008 07:21:33 +0000 (07:21 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Mon, 25 Feb 2008 07:21:33 +0000 (07:21 +0000)
Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
Comment smoke typefinder for now. The smokedec plugin needs one
frame per buffer but we have no parser yet, thus it simply crashes
in most situations.

ChangeLog
gst/typefind/gsttypefindfunctions.c

index 13dfb1e..918f128 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,13 @@
 2008-02-25  Sebastian Dröge  <slomo@circular-chaos.org>
 
        * gst/typefind/gsttypefindfunctions.c: (plugin_init):
+       Comment smoke typefinder for now. The smokedec plugin needs one
+       frame per buffer but we have no parser yet, thus it simply crashes
+       in most situations.
+
+2008-02-25  Sebastian Dröge  <slomo@circular-chaos.org>
+
+       * gst/typefind/gsttypefindfunctions.c: (plugin_init):
        Add typefinder for the smoke video codec. Copied from the jpeg plugin.
 
 2008-02-25  Sebastian Dröge  <slomo@circular-chaos.org>
index 27afec9..a735a4f 100644 (file)
@@ -2983,8 +2983,10 @@ plugin_init (GstPlugin * plugin)
   TYPE_FIND_REGISTER_START_WITH (plugin, "video/x-vcd", GST_RANK_PRIMARY,
       cdxa_exts, "\000\377\377\377\377\377\377\377\377\377\377\000", 12,
       GST_TYPE_FIND_MAXIMUM);
+#if 0
   TYPE_FIND_REGISTER_START_WITH (plugin, "video/x-smoke", GST_RANK_PRIMARY,
-      NULL, "\x80smoke", 6, GST_TYPE_FIND_MAXIMUM);
+      NULL, "\x80smoke\x00\x01\x00", 6, GST_TYPE_FIND_MAXIMUM);
+#endif
   TYPE_FIND_REGISTER (plugin, "audio/midi", GST_RANK_PRIMARY, mid_type_find,
       mid_exts, MID_CAPS, NULL, NULL);
   TYPE_FIND_REGISTER (plugin, "video/x-fli", GST_RANK_MARGINAL, flx_type_find,