mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
openjpeg: Correct template caps a bit
This commit is contained in:
parent
cb5dcaba76
commit
7faf96eb14
2 changed files with 15 additions and 2 deletions
|
@ -61,7 +61,10 @@ static GstStaticPadTemplate gst_openjpeg_dec_sink_template =
|
||||||
GST_STATIC_PAD_TEMPLATE ("sink",
|
GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
GST_PAD_SINK,
|
GST_PAD_SINK,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("image/x-j2c; image/x-jpc; image/jp2")
|
GST_STATIC_CAPS ("image/x-j2c, "
|
||||||
|
"colorspace = (string) { sRGB, sYUV, GRAY }; "
|
||||||
|
"image/x-jpc, "
|
||||||
|
"colorspace = (string) { sRGB, sYUV, GRAY }; " "image/jp2")
|
||||||
);
|
);
|
||||||
|
|
||||||
static GstStaticPadTemplate gst_openjpeg_dec_src_template =
|
static GstStaticPadTemplate gst_openjpeg_dec_src_template =
|
||||||
|
|
|
@ -70,7 +70,17 @@ static GstStaticPadTemplate gst_openjpeg_enc_src_template =
|
||||||
GST_STATIC_PAD_TEMPLATE ("src",
|
GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
GST_PAD_SRC,
|
GST_PAD_SRC,
|
||||||
GST_PAD_ALWAYS,
|
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
|
#define parent_class gst_openjpeg_enc_parent_class
|
||||||
|
|
Loading…
Reference in a new issue