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-12-16 10:46:35 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2012-12-16 10:46:35 +0400
commita360d8863f89ac6d9e1f98cc1f700f43cca6425f (patch)
tree71d1d1f495f5398233c40dc798bc74f1d8353589
parent88f50d4f5fb81d99f0923bd5d82e53b90d77e0cb (diff)
Skip track change events that don't change the stream in debug mode as well.
-rw-r--r--demuxer/LAVSplitter/LAVSplitter.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/demuxer/LAVSplitter/LAVSplitter.cpp b/demuxer/LAVSplitter/LAVSplitter.cpp
index ded9d1d2..98ef4302 100644
--- a/demuxer/LAVSplitter/LAVSplitter.cpp
+++ b/demuxer/LAVSplitter/LAVSplitter.cpp
@@ -1033,10 +1033,7 @@ static int QueryAcceptMediaTypes(IPin *pPin, std::vector<CMediaType> pmts)
STDMETHODIMP CLAVSplitter::RenameOutputPin(DWORD TrackNumSrc, DWORD TrackNumDst, std::vector<CMediaType> pmts)
{
CheckPointer(m_pDemuxer, E_UNEXPECTED);
-
-#ifndef DEBUG
if (TrackNumSrc == TrackNumDst) return S_OK;
-#endif
CLAVOutputPin* pPin = GetOutputPin(TrackNumSrc);