diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-10-30 20:51:37 +0400 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-10-30 20:51:37 +0400 |
commit | 213831b0c6f4cd17b35dd2f2632905f1154fd8d7 (patch) | |
tree | e33e0a69d6ff9dceba74adb85c93ef2af24cdaad | |
parent | 3f709f07b05d969495b83feb6ed0a0949ac59a3c (diff) |
Don't indicate interlaced in the media type if YADIF is enabled.
-rw-r--r-- | decoder/LAVVideo/LAVVideo.cpp | 2 |
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; } |