Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2012-11-01 14:41:24 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2012-11-01 18:48:31 +0400
commit7b4d1537f1fa4391f31167b08e20a47e7db1854c (patch)
treeb18b2eb47744ab3b0ca2cdb2d3a7c045e19b7420
parentbd96f3368dbdca1a4edc7e411370ed29e18e66c4 (diff)
Add YV16 to the output pixel format mappings (disabled).
-rw-r--r--decoder/LAVVideo/LAVPixFmtConverter.cpp2
-rw-r--r--decoder/LAVVideo/LAVVideo.cpp1
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;