diff options
Diffstat (limited to 'ext/jpeg/gstjpeg.c')
-rw-r--r-- | ext/jpeg/gstjpeg.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/ext/jpeg/gstjpeg.c b/ext/jpeg/gstjpeg.c index 43d7cdf7..bfb62549 100644 --- a/ext/jpeg/gstjpeg.c +++ b/ext/jpeg/gstjpeg.c @@ -27,11 +27,11 @@ #include "gstjpegdec.h" #include "gstjpegenc.h" #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) @@ -46,7 +46,7 @@ smoke_type_find (GstTypeFind * tf, gpointer private) gst_type_find_suggest (tf, GST_TYPE_FIND_MAXIMUM, SMOKE_CAPS); } } -*/ +#endif static gboolean plugin_init (GstPlugin * plugin) @@ -63,15 +63,16 @@ plugin_init (GstPlugin * plugin) if (!gst_element_register (plugin, "smokeenc", GST_RANK_PRIMARY, GST_TYPE_SMOKEENC)) return FALSE; -/* + if (!gst_element_register (plugin, "smokedec", GST_RANK_PRIMARY, GST_TYPE_SMOKEDEC)) - return FALSE; + 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; } |