summaryrefslogtreecommitdiffstats
path: root/ext/jpeg/gstsmokedec.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2006-03-03 15:50:40 +0000
committerWim Taymans <wim.taymans@gmail.com>2006-03-03 15:50:40 +0000
commit188bd155cde994b5c2a69b1a25a900c8b30d1608 (patch)
treedb7cab9fcb72f9aedf01f0224609061ae5283a9c /ext/jpeg/gstsmokedec.h
parente85d1638c3e2199998ed8a31af1a2c654354fcba (diff)
docs/plugins/: Added smoke and jpeg to the docs.
Original commit message from CVS: * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-good-plugins-docs.sgml: * docs/plugins/gst-plugins-good-plugins-sections.txt: * docs/plugins/gst-plugins-good-plugins.hierarchy: Added smoke and jpeg to the docs. * ext/jpeg/Makefile.am: * ext/jpeg/gstjpeg.c: (plugin_init): * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_chain): * ext/jpeg/gstjpegenc.h: * ext/jpeg/gstsmokedec.c: (gst_smokedec_init), (gst_smokedec_chain): * ext/jpeg/gstsmokedec.h: * ext/jpeg/gstsmokeenc.c: (gst_smokeenc_chain): * ext/jpeg/gstsmokeenc.h: * ext/jpeg/smokecodec.h: Port smokedec (fixes #331905). Added some docs. Some cleanups.
Diffstat (limited to 'ext/jpeg/gstsmokedec.h')
-rw-r--r--ext/jpeg/gstsmokedec.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/ext/jpeg/gstsmokedec.h b/ext/jpeg/gstsmokedec.h
index d3e73d90..8e62d02e 100644
--- a/ext/jpeg/gstsmokedec.h
+++ b/ext/jpeg/gstsmokedec.h
@@ -25,10 +25,7 @@
#include <gst/gst.h>
#include "smokecodec.h"
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
+G_BEGIN_DECLS
#define GST_TYPE_SMOKEDEC \
(gst_smokedec_get_type())
@@ -54,7 +51,8 @@ struct _GstSmokeDec {
gint format;
gint width;
gint height;
- gdouble fps;
+ gint fps_num;
+ gint fps_denom;
GstClockTime next_time;
SmokeCodecInfo *info;
@@ -72,10 +70,6 @@ struct _GstSmokeDecClass {
GType gst_smokedec_get_type(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
#endif /* __GST_SMOKEDEC_H__ */