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-10-30 20:51:37 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2012-10-30 20:51:37 +0400
commit213831b0c6f4cd17b35dd2f2632905f1154fd8d7 (patch)
treee33e0a69d6ff9dceba74adb85c93ef2af24cdaad
parent3f709f07b05d969495b83feb6ed0a0949ac59a3c (diff)
Don't indicate interlaced in the media type if YADIF is enabled.
-rw-r--r--decoder/LAVVideo/LAVVideo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/LAVVideo/LAVVideo.cpp b/decoder/LAVVideo/LAVVideo.cpp
index 0d0a007d..717fb9c5 100644
--- a/decoder/LAVVideo/LAVVideo.cpp
+++ b/decoder/LAVVideo/LAVVideo.cpp
@@ -487,7 +487,7 @@ HRESULT CLAVVideo::GetMediaType(int iPosition, CMediaType *pMediaType)
DWORD dwAspectX = 0, dwAspectY = 0;
videoFormatTypeHandler(mtIn.Format(), mtIn.FormatType(), &pBIH, &rtAvgTime, &dwAspectX, &dwAspectY);
- m_PixFmtConverter.GetMediaType(pMediaType, index, pBIH->biWidth, pBIH->biHeight, dwAspectX, dwAspectY, rtAvgTime, m_Decoder.IsInterlaced(), bVIH1);
+ m_PixFmtConverter.GetMediaType(pMediaType, index, pBIH->biWidth, pBIH->biHeight, dwAspectX, dwAspectY, rtAvgTime, IsInterlaced(), bVIH1);
return S_OK;
}