Skip to content
Browse files

Increase video compensation limit to 5 seconds, to handle streams wit…

…h large A/V skew
  • Loading branch information...
1 parent 3957fb4 commit 5bcabfc098c3ad6826a5c46f92b7411a75a0b819 @owlsroost owlsroost committed Oct 25, 2013
View
2 DirectShowFilters/TsReader/source/DeMultiplexer.cpp
@@ -862,7 +862,7 @@ bool CDeMultiplexer::CheckCompensation(CRefTime rtStartTime)
BestCompensation = targFirstAudio - m_filter.m_RandomCompensation - rtStartTime ;
AddVideoCompensation = firstVideo - targFirstAudio;
- AddVideoCompensation = (AddVideoCompensation > (2000*10000)) ? (2000*10000) : AddVideoCompensation; //Limit to 2.0 seconds
+ AddVideoCompensation = (AddVideoCompensation > (5000*10000)) ? (5000*10000) : AddVideoCompensation; //Limit to 5.0 seconds
LogDebug("Compensation : ( Rnd : %d mS ) Audio pts ahead Video pts . Add %03.3f sec of extra video comp to start now !...",(DWORD)m_filter.m_RandomCompensation/10000,(float)AddVideoCompensation.Millisecs()/1000.0f) ;
}
else
View
4 DirectShowFilters/TsReader/source/version.h
@@ -18,8 +18,8 @@
// Version numbers (used for resource and log display)
#define TSREADER_MAJOR_VERSION 3
#define TSREADER_MID_VERSION 0
-#define TSREADER_VERSION 76
-#define TSREADER_VERSION_STR "3.0.76.0\0"
+#define TSREADER_VERSION 77
+#define TSREADER_VERSION_STR "3.0.77.0\0"
#define MP_VERSION 1,6,000,0
#define MP_VERSION_STR "1.6.000.0\0"

0 comments on commit 5bcabfc

Please sign in to comment.
Something went wrong with that request. Please try again.