jpegenc: Add support for encoding from NV21 and NV12
authorNicola Murino <nicola.murino@gmail.com>
Tue, 8 Jul 2014 00:18:27 +0000 (02:18 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 21 Jul 2014 07:36:55 +0000 (09:36 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=732870

ext/jpeg/gstjpegenc.c

index 97c53d6..74c7bdd 100644 (file)
@@ -98,8 +98,8 @@ GST_STATIC_PAD_TEMPLATE ("sink",
     GST_PAD_SINK,
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS (GST_VIDEO_CAPS_MAKE
-        ("{ I420, YV12, YUY2, UYVY, Y41B, Y42B, YVYU, Y444, "
-         "RGB, BGR, RGBx, xRGB, BGRx, xBGR, GRAY8 }"))
+        ("{ I420, YV12, YUY2, UYVY, Y41B, Y42B, YVYU, Y444, NV21, "
+         "NV12, RGB, BGR, RGBx, xRGB, BGRx, xBGR, GRAY8 }"))
     );
 /* *INDENT-ON* */