summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2011-01-26 18:45:56 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2011-01-27 14:45:30 +0000
commit5d754e549a1ceca38736ba675dc8601e579223ee (patch)
tree2edffef273f608dc53003dd5e3e83abfbbca6280 /ext
parent86ae3777fda5c5123aafabb7369193fe593b0d90 (diff)
downloadgstreamer-plugins-bad-5d754e549a1ceca38736ba675dc8601e579223ee.tar.gz
jp2kdec, jp2kenc: add support v308 (4:4:4 YUV)
Because we can.
Diffstat (limited to 'ext')
-rw-r--r--ext/jp2k/gstjasperdec.c2
-rw-r--r--ext/jp2k/gstjasperenc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/jp2k/gstjasperdec.c b/ext/jp2k/gstjasperdec.c
index 588a98ff4..595134c46 100644
--- a/ext/jp2k/gstjasperdec.c
+++ b/ext/jp2k/gstjasperdec.c
@@ -65,7 +65,7 @@ static GstStaticPadTemplate gst_jasper_dec_src_template =
GST_STATIC_CAPS (GST_VIDEO_CAPS_RGB "; " GST_VIDEO_CAPS_BGR "; "
GST_VIDEO_CAPS_RGBx "; " GST_VIDEO_CAPS_xRGB "; "
GST_VIDEO_CAPS_BGRx "; " GST_VIDEO_CAPS_xBGR "; "
- GST_VIDEO_CAPS_YUV ("{ I420, YV12, YUY2, UYVY, Y41B, Y42B }"))
+ GST_VIDEO_CAPS_YUV ("{ I420, YV12, YUY2, UYVY, Y41B, Y42B, v308 }"))
);
static void gst_jasper_dec_set_property (GObject * object, guint prop_id,
diff --git a/ext/jp2k/gstjasperenc.c b/ext/jp2k/gstjasperenc.c
index a372be2ab..27073e22a 100644
--- a/ext/jp2k/gstjasperenc.c
+++ b/ext/jp2k/gstjasperenc.c
@@ -49,7 +49,7 @@ static GstStaticPadTemplate gst_jasper_enc_sink_template =
GST_STATIC_CAPS (GST_VIDEO_CAPS_RGB "; " GST_VIDEO_CAPS_BGR "; "
GST_VIDEO_CAPS_RGBx "; " GST_VIDEO_CAPS_xRGB "; "
GST_VIDEO_CAPS_BGRx "; " GST_VIDEO_CAPS_xBGR "; "
- GST_VIDEO_CAPS_YUV ("{ I420, YV12 }"))
+ GST_VIDEO_CAPS_YUV ("{ I420, YV12, v308 }"))
);
static GstStaticPadTemplate gst_jasper_enc_src_template =