summaryrefslogtreecommitdiff
path: root/ext/openjpeg/gstopenjpegenc.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2012-12-16 20:05:46 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-12-16 20:50:34 +0100
commit7faf96eb14c71a668c8c0a2f5a6cf952f96b411d (patch)
tree1250b1fdf79a7420da3d786086f91f116931a02b /ext/openjpeg/gstopenjpegenc.c
parentcb5dcaba7685831b456791594c4b47482b54011e (diff)
downloadgstreamer-plugins-bad-7faf96eb14c71a668c8c0a2f5a6cf952f96b411d.tar.gz
openjpeg: Correct template caps a bit
Diffstat (limited to 'ext/openjpeg/gstopenjpegenc.c')
-rw-r--r--ext/openjpeg/gstopenjpegenc.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/ext/openjpeg/gstopenjpegenc.c b/ext/openjpeg/gstopenjpegenc.c
index 05d8c92f0..f814b4311 100644
--- a/ext/openjpeg/gstopenjpegenc.c
+++ b/ext/openjpeg/gstopenjpegenc.c
@@ -70,7 +70,17 @@ static GstStaticPadTemplate gst_openjpeg_enc_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
- GST_STATIC_CAPS ("image/x-j2c; image/x-jpc; image/jp2")
+ GST_STATIC_CAPS ("image/x-j2c, "
+ "width = (int) [1, MAX], "
+ "height = (int) [1, MAX], "
+ "num-components = (int) [1, 4], "
+ "colorspace = (string) { sRGB, sYUV, GRAY }; "
+ "image/x-jpc, "
+ "width = (int) [1, MAX], "
+ "height = (int) [1, MAX], "
+ "num-components = (int) [1, 4], "
+ "colorspace = (string) { sRGB, sYUV, GRAY }; "
+ "image/jp2, " "width = (int) [1, MAX], " "height = (int) [1, MAX]")
);
#define parent_class gst_openjpeg_enc_parent_class