diff options
author | Sanjay NM <sanjay.nm@samsung.com> | 2014-09-22 17:14:29 +0530 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-09-23 19:34:06 +0300 |
commit | 511dfd65de41d1dc69bf588459bdb3670cb03f6f (patch) | |
tree | c66fd37f6c63184cb3a4969396cae245d721cd28 | |
parent | b2398e3fd1cd637918c3b29c8144b9449c2a047b (diff) |
videofilters: Add support for more YUV formats
https://bugzilla.gnome.org/show_bug.cgi?id=737111
-rw-r--r-- | gst/videofilters/gstzebrastripe.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gst/videofilters/gstzebrastripe.c b/gst/videofilters/gstzebrastripe.c index 840c010b9..0b08100e9 100644 --- a/gst/videofilters/gstzebrastripe.c +++ b/gst/videofilters/gstzebrastripe.c @@ -79,7 +79,7 @@ enum /* pad templates */ #define VIDEO_CAPS GST_VIDEO_CAPS_MAKE( \ - "{ I420, Y444, Y42B, Y41B, YUY2, UYVY, AYUV }") + "{ I420, Y444, Y42B, Y41B, YUY2, UYVY, AYUV, NV12, NV21, YV12 }") /* class initialization */ @@ -222,6 +222,9 @@ gst_zebra_stripe_transform_frame_ip (GstVideoFilter * filter, case GST_VIDEO_FORMAT_Y444: case GST_VIDEO_FORMAT_Y42B: case GST_VIDEO_FORMAT_YUY2: + case GST_VIDEO_FORMAT_NV12: + case GST_VIDEO_FORMAT_NV21: + case GST_VIDEO_FORMAT_YV12: break; case GST_VIDEO_FORMAT_UYVY: offset = 1; |