diff options
author | Flavio Oliveira <flavio.oliveira@indt.org.br> | 2005-09-08 16:58:40 +0000 |
---|---|---|
committer | Flavio Oliveira <flavio.oliveira@indt.org.br> | 2005-09-08 16:58:40 +0000 |
commit | fb26ca3f3273deeff59687fa99a148f86ddf6f40 (patch) | |
tree | 338aa38afcff2b98005ad2ac2d1cf087d46fc4ce /ext/jpeg/gstjpeg.c | |
parent | bc5a2ed4273b4bdadcd82ee366e7c17e32ddb2ba (diff) |
jpgenc ported to GSTreamer 0.9
Original commit message from CVS:
jpgenc ported to GSTreamer 0.9
Diffstat (limited to 'ext/jpeg/gstjpeg.c')
-rw-r--r-- | ext/jpeg/gstjpeg.c | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/ext/jpeg/gstjpeg.c b/ext/jpeg/gstjpeg.c index c6fa7a18..d1ea2763 100644 --- a/ext/jpeg/gstjpeg.c +++ b/ext/jpeg/gstjpeg.c @@ -25,14 +25,13 @@ #include <gst/gst.h> #include "gstjpegdec.h" - -#if 0 #include "gstjpegenc.h" #include "gstsmokeenc.h" +/* #include "gstsmokedec.h" -static GstStaticCaps smoke_caps = GST_STATIC_CAPS ("video/x-smoke"); +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) @@ -47,34 +46,32 @@ 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) { -#if 0 + if (!gst_element_register (plugin, "jpegenc", GST_RANK_NONE, GST_TYPE_JPEGENC)) return FALSE; -#endif if (!gst_element_register (plugin, "jpegdec", GST_RANK_PRIMARY, GST_TYPE_JPEG_DEC)) return FALSE; -#if 0 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 (!gst_type_find_register (plugin, "video/x-smoke", GST_RANK_PRIMARY, smoke_type_find, NULL, SMOKE_CAPS, NULL)) return FALSE; -#endif +*/ return TRUE; } |