diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-03-11 19:30:22 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-03-21 10:19:47 +0100 |
commit | 86719f194f17773979913e21cb0629c3eba06c05 (patch) | |
tree | ca6864fde863b72167280395e3b53d4664226f07 /ext | |
parent | 30e5da107bb2389c26cc647c2cf7b866542dac64 (diff) | |
download | gst-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.c | 6 |
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") ); |