diff options
author | Sreerenj Balachandran <sreerenj.balachandran@intel.com> | 2016-03-29 15:34:38 +0300 |
---|---|---|
committer | Sreerenj Balachandran <sreerenj.balachandran@intel.com> | 2016-03-29 15:34:38 +0300 |
commit | 35fe2abc3e37776f3ad5dba9c073e29804d3f192 (patch) | |
tree | 4e2b02b685f6eecd61028f7bf5dbd15855359ef2 | |
parent | fd04a7c046c46b808c11d0dd523fa4524192b861 (diff) |
video-format: Keep the HW order preference while mapping to GstVideoFormats
-rw-r--r-- | gst-libs/gst/vaapi/video-format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/vaapi/video-format.c b/gst-libs/gst/vaapi/video-format.c index 265df5a1..78fb4dab 100644 --- a/gst-libs/gst/vaapi/video-format.c +++ b/gst-libs/gst/vaapi/video-format.c @@ -52,7 +52,6 @@ typedef struct /* Image formats, listed in HW order preference */ /* *INDENT-OFF* */ static const GstVideoFormatMap gst_vaapi_video_formats[] = { - DEF_YUV (P010_10LE, ('P', '0', '1', '0'), LSB, 24, 420_10BPP), DEF_YUV (NV12, ('N', 'V', '1', '2'), LSB, 12, 420), DEF_YUV (YV12, ('Y', 'V', '1', '2'), LSB, 12, 420), DEF_YUV (I420, ('I', '4', '2', '0'), LSB, 12, 420), @@ -79,6 +78,7 @@ static const GstVideoFormatMap gst_vaapi_video_formats[] = { 24, 0x000000ff, 0x0000ff00, 0x00ff0000, 0x00000000), #endif DEF_YUV (GRAY8, ('Y', '8', '0', '0'), LSB, 8, 400), + DEF_YUV (P010_10LE, ('P', '0', '1', '0'), LSB, 24, 420_10BPP), {0,} }; /* *INDENT-ON* */ |