diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-11-01 14:41:24 +0400 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-11-01 18:48:31 +0400 |
commit | 7b4d1537f1fa4391f31167b08e20a47e7db1854c (patch) | |
tree | b18b2eb47744ab3b0ca2cdb2d3a7c045e19b7420 | |
parent | bd96f3368dbdca1a4edc7e411370ed29e18e66c4 (diff) |
Add YV16 to the output pixel format mappings (disabled).
-rw-r--r-- | decoder/LAVVideo/LAVPixFmtConverter.cpp | 2 | ||||
-rw-r--r-- | decoder/LAVVideo/LAVVideo.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/decoder/LAVVideo/LAVPixFmtConverter.cpp b/decoder/LAVVideo/LAVPixFmtConverter.cpp index f97d318a..d0089c4c 100644 --- a/decoder/LAVVideo/LAVPixFmtConverter.cpp +++ b/decoder/LAVVideo/LAVPixFmtConverter.cpp @@ -58,7 +58,7 @@ typedef struct { } LAV_INOUT_PIXFMT_MAP; #define PIXOUT_420_8 LAVOutPixFmt_NV12, LAVOutPixFmt_YV12 -#define PIXOUT_422_8 LAVOutPixFmt_YUY2, LAVOutPixFmt_UYVY +#define PIXOUT_422_8 LAVOutPixFmt_YUY2, LAVOutPixFmt_UYVY, LAVOutPixFmt_YV16 #define PIXOUT_444_8 LAVOutPixFmt_YV24, LAVOutPixFmt_AYUV #define PIXOUT_RGB_8 LAVOutPixFmt_RGB32, LAVOutPixFmt_RGB24 diff --git a/decoder/LAVVideo/LAVVideo.cpp b/decoder/LAVVideo/LAVVideo.cpp index 32d3d02a..6da82a5e 100644 --- a/decoder/LAVVideo/LAVVideo.cpp +++ b/decoder/LAVVideo/LAVVideo.cpp @@ -146,6 +146,7 @@ HRESULT CLAVVideo::LoadDefaults() for (int i = 0; i < LAVOutPixFmt_NB; ++i) m_settings.bPixFmts[i] = TRUE; + m_settings.bPixFmts[LAVOutPixFmt_YV16] = FALSE; m_settings.bPixFmts[LAVOutPixFmt_AYUV] = FALSE; m_settings.HWAccel = HWAccel_None; |