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

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanWillem32 <janwillem32@hotmail.com>2012-07-29 14:49:02 +0400
committerUnderground78 <underground78@users.sourceforge.net>2012-08-12 01:58:38 +0400
commit8bc4d408d68bc19e88420c73c1c69c5313397cdb (patch)
tree0edd76c18e5a921a62932da3fbc842d4f49fa761 /src/DSUtil/NullRenderers.cpp
parentbd62e19108643218781c9ef5c5653f19f2eb5ee9 (diff)
Add NV12 to CNullUVideoRenderer as accepted format.
Diffstat (limited to 'src/DSUtil/NullRenderers.cpp')
-rw-r--r--src/DSUtil/NullRenderers.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/DSUtil/NullRenderers.cpp b/src/DSUtil/NullRenderers.cpp
index 2b57814bc..56c823c05 100644
--- a/src/DSUtil/NullRenderers.cpp
+++ b/src/DSUtil/NullRenderers.cpp
@@ -277,6 +277,7 @@ HRESULT CNullUVideoRenderer::CheckMediaType(const CMediaType* pmt)
{
return pmt->majortype == MEDIATYPE_Video
&& (pmt->subtype == MEDIASUBTYPE_YV12
+ || pmt->subtype == MEDIASUBTYPE_NV12
|| pmt->subtype == MEDIASUBTYPE_I420
|| pmt->subtype == MEDIASUBTYPE_YUYV
|| pmt->subtype == MEDIASUBTYPE_IYUV