summaryrefslogtreecommitdiffstats
path: root/ext/jpeg
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-02-25 06:50:31 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-02-25 06:50:31 +0000
commitcfee7319388dcafac9a5464606341c0d4b589122 (patch)
treed9bb0884f349c053f96922ef1cbadbfccefad6d2 /ext/jpeg
parenta681a56b1d4a8b9f6bb30b6ce855a97fa0ba526f (diff)
ext/jpeg/gstjpeg.c: Remove (commented out) smoke typefinder. This is in base now.
Original commit message from CVS: * ext/jpeg/gstjpeg.c: (plugin_init): Remove (commented out) smoke typefinder. This is in base now.
Diffstat (limited to 'ext/jpeg')
-rw-r--r--ext/jpeg/gstjpeg.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/ext/jpeg/gstjpeg.c b/ext/jpeg/gstjpeg.c
index bfb62549..ddb10152 100644
--- a/ext/jpeg/gstjpeg.c
+++ b/ext/jpeg/gstjpeg.c
@@ -29,25 +29,6 @@
#include "gstsmokeenc.h"
#include "gstsmokedec.h"
-#if 0
-static GstStaticCaps smoke_caps = GST_STATIC_CAPS ("video/x-smoke");
-
-#define SMOKE_CAPS (gst_static_caps_get(&smoke_caps))
-static void
-smoke_type_find (GstTypeFind * tf, gpointer private)
-{
- guint8 *data = gst_type_find_peek (tf, 0, 6);
-
- if (data) {
- if (data[0] != 0x80)
- return;
- if (memcmp (&data[1], "smoke", 5) != 0)
- return;
- gst_type_find_suggest (tf, GST_TYPE_FIND_MAXIMUM, SMOKE_CAPS);
- }
-}
-#endif
-
static gboolean
plugin_init (GstPlugin * plugin)
{
@@ -68,12 +49,6 @@ plugin_init (GstPlugin * plugin)
GST_TYPE_SMOKEDEC))
return FALSE;
-#if 0
- if (!gst_type_find_register (plugin, "video/x-smoke", GST_RANK_PRIMARY,
- smoke_type_find, NULL, SMOKE_CAPS, NULL))
- return FALSE;
-#endif
-
return TRUE;
}