summaryrefslogtreecommitdiffstats
path: root/ext/jp2k/gstjasperenc.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/jp2k/gstjasperenc.h')
-rw-r--r--ext/jp2k/gstjasperenc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/jp2k/gstjasperenc.h b/ext/jp2k/gstjasperenc.h
index 93090cdd..7cfd2fff 100644
--- a/ext/jp2k/gstjasperenc.h
+++ b/ext/jp2k/gstjasperenc.h
@@ -42,6 +42,12 @@ G_BEGIN_DECLS
typedef struct _GstJasperEnc GstJasperEnc;
typedef struct _GstJasperEncClass GstJasperEncClass;
+enum {
+ GST_JP2ENC_MODE_J2C = 0,
+ GST_JP2ENC_MODE_JPC,
+ GST_JP2ENC_MODE_JP2
+};
+
#define GST_JASPER_ENC_MAX_COMPONENT 4
struct _GstJasperEnc
@@ -55,6 +61,7 @@ struct _GstJasperEnc
/* jasper image fmt */
gint fmt;
+ gint mode;
jas_clrspc_t clrspc;
/* stream/image properties */