summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-03-11 19:30:22 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-03-21 10:19:47 +0100
commit86719f194f17773979913e21cb0629c3eba06c05 (patch)
treeca6864fde863b72167280395e3b53d4664226f07 /ext
parent30e5da107bb2389c26cc647c2cf7b866542dac64 (diff)
downloadgst-plugins-bad-86719f194f17773979913e21cb0629c3eba06c05.tar.gz
gst-plugins-bad-86719f194f17773979913e21cb0629c3eba06c05.tar.bz2
gst-plugins-bad-86719f194f17773979913e21cb0629c3eba06c05.zip
jp2kenc: Add width/height/fourcc to the pad template caps
Diffstat (limited to 'ext')
-rw-r--r--ext/jp2k/gstjasperenc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/jp2k/gstjasperenc.c b/ext/jp2k/gstjasperenc.c
index a81a2a93..fbd4fd57 100644
--- a/ext/jp2k/gstjasperenc.c
+++ b/ext/jp2k/gstjasperenc.c
@@ -62,9 +62,11 @@ static GstStaticPadTemplate gst_jasper_enc_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
- GST_STATIC_CAPS ("image/x-j2c, "
+ GST_STATIC_CAPS ("image/x-j2c, width = " GST_VIDEO_SIZE_RANGE ", height = "
+ GST_VIDEO_SIZE_RANGE ", fourcc = (GstFourcc) { sRGB, sYUV },"
"framerate = " GST_VIDEO_FPS_RANGE ", " "fields = (int) 1; "
- "image/x-jpc, "
+ "image/x-jpc, width = " GST_VIDEO_SIZE_RANGE ", height = "
+ GST_VIDEO_SIZE_RANGE ", fourcc = (GstFourcc) { sRGB, sYUV },"
"framerate = " GST_VIDEO_FPS_RANGE ", " "fields = (int) 1; "
"image/jp2")
);