summaryrefslogtreecommitdiff
path: root/sys/msdk
diff options
context:
space:
mode:
authorHaihao Xiang <haihao.xiang@intel.com>2018-10-19 16:23:21 +0800
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2018-11-26 16:47:17 +0000
commit54451b730320564989d80a2bf3a425d29ccfbc53 (patch)
tree4d272c9ce874fb179a70a03bafab98e0807dc704 /sys/msdk
parent1d97a6f00e2d5e7153a2bbfbe6fb621add56021d (diff)
downloadgstreamer-plugins-bad-54451b730320564989d80a2bf3a425d29ccfbc53.tar.gz
msdk: map GST_VIDEO_FORMAT_P010_10LE to MFX_FOURCC_P010
Diffstat (limited to 'sys/msdk')
-rw-r--r--sys/msdk/msdk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/msdk/msdk.c b/sys/msdk/msdk.c
index d5050795a..718039639 100644
--- a/sys/msdk/msdk.c
+++ b/sys/msdk/msdk.c
@@ -53,6 +53,7 @@ static const struct map gst_msdk_video_format_to_mfx_map[] = {
GST_VIDEO_INFO_TO_MFX_MAP (NV12, YUV420, NV12),
GST_VIDEO_INFO_TO_MFX_MAP (YV12, YUV420, YV12),
GST_VIDEO_INFO_TO_MFX_MAP (I420, YUV420, YV12),
+ GST_VIDEO_INFO_TO_MFX_MAP (P010_10LE, YUV420, P010),
GST_VIDEO_INFO_TO_MFX_MAP (YUY2, YUV422, YUY2),
GST_VIDEO_INFO_TO_MFX_MAP (UYVY, YUV422, UYVY),
GST_VIDEO_INFO_TO_MFX_MAP (BGRA, YUV444, RGB4),