mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
jp2kenc: Add width/height/fourcc to the pad template caps
This commit is contained in:
parent
30e5da107b
commit
86719f194f
1 changed files with 4 additions and 2 deletions
|
@ -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")
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue