summaryrefslogtreecommitdiffstats
path: root/common/recipes-multimedia/gstreamer/gst-plugins-good/0017-videocrop-add-NV12-format-caps-template.patch
blob: 11bf99e66976cc42f8be7a4d5db192ce40e8cb97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From d2d5af3b3912ff588c613803f366984eca82c53f Mon Sep 17 00:00:00 2001
From: Kazunori Kobayashi <kkobayas@igel.co.jp>
Date: Thu, 4 Oct 2012 12:11:38 +0900
Subject: [PATCH 17/31] videocrop: add NV12 format caps template

This is preliminary for NV12 zero-copy cropping.
---
 gst/videocrop/gstvideocrop.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/gst/videocrop/gstvideocrop.c b/gst/videocrop/gstvideocrop.c
index b6336da..df02302 100644
--- a/gst/videocrop/gstvideocrop.c
+++ b/gst/videocrop/gstvideocrop.c
@@ -102,6 +102,7 @@ enum
   GST_VIDEO_CAPS_YUV ("Y800") ";"                \
   GST_VIDEO_CAPS_YUV ("I420") ";"                \
   GST_VIDEO_CAPS_YUV ("YV12") ";"                \
+  GST_VIDEO_CAPS_YUV ("NV12") ";"                \
   GST_VIDEO_CAPS_RGB_16 ";"                      \
   GST_VIDEO_CAPS_RGB_15 ";"			 \
   GST_VIDEO_CAPS_GRAY
-- 
1.7.9.5
mitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs id="defs17" /><sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="2560" inkscape:window-height="1464" id="namedview15" showgrid="false" inkscape:zoom="3.6307692" inkscape:cx="-70.233051" inkscape:cy="32.5" inkscape:window-x="0" inkscape:window-y="0" inkscape:window-maximized="1" inkscape:current-layer="Layer_1" /><style type="text/css" id="style3"> .st0{fill:none;stroke:#FFFFFF;stroke-miterlimit:10;} </style><switch id="switch5"><g i:extraneous="self" id="g7"><g id="g9"><line class="st0" x1="65" y1="65" x2="0.5" y2="0.5" id="line11" /><line class="st0" x1="64.9" y1="0" x2="0" y2="64.9" id="line13" /></g></g></switch></svg>