summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-01-04 21:17:23 +0100
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-01-04 21:17:23 +0100
commit2e31901b6faf0bdef07cb69b76da1daa418318a5 (patch)
treeec1476654f2c7431d9f77be3a62908188f633223 /modules
parent1792bf5dc25937b9530b954a6f717d7789ee8900 (diff)
swscale: add NV21 pixel format
Diffstat (limited to 'modules')
-rw-r--r--modules/swscale/swscale.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/swscale/swscale.c b/modules/swscale/swscale.c
index 7f5e8d8..5b2399c 100644
--- a/modules/swscale/swscale.c
+++ b/modules/swscale/swscale.c
@@ -26,6 +26,7 @@ static enum AVPixelFormat vidfmt_to_avpixfmt(enum vidfmt fmt)
case VID_FMT_YUV420P: return AV_PIX_FMT_YUV420P;
case VID_FMT_NV12: return AV_PIX_FMT_NV12;
+ case VID_FMT_NV21: return AV_PIX_FMT_NV21;
default: return AV_PIX_FMT_NONE;
}
}