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>2015-03-23 13:53:08 +0300
committerHendrik Leppkes <h.leppkes@gmail.com>2015-03-23 13:53:08 +0300
commit77ab3637bd6abca4a7b19bce4f478c766ed63d8d (patch)
tree1be8f63dc40ab79bb0622223c690018c04cc6736 /decoder
parentb9e5e54c12869b2e30b0a73eb757a3bbabc33c40 (diff)
Don't include version.h in the precompiled headers
Instead, only include it where its used. Avoids extensive recompilation on version changes. Based on a change by kasper93
Diffstat (limited to 'decoder')
-rw-r--r--decoder/LAVAudio/AudioSettingsProp.cpp1
-rw-r--r--decoder/LAVAudio/stdafx.h1
-rw-r--r--decoder/LAVVideo/VideoSettingsProp.cpp1
-rw-r--r--decoder/LAVVideo/stdafx.h1
-rw-r--r--decoder/LAVVideo/subtitles/LAVSubtitleConsumer.cpp1
-rw-r--r--decoder/LAVVideo/subtitles/LAVSubtitleProvider.cpp2
6 files changed, 5 insertions, 2 deletions
diff --git a/decoder/LAVAudio/AudioSettingsProp.cpp b/decoder/LAVAudio/AudioSettingsProp.cpp
index edf0b188..dc1f948d 100644
--- a/decoder/LAVAudio/AudioSettingsProp.cpp
+++ b/decoder/LAVAudio/AudioSettingsProp.cpp
@@ -24,6 +24,7 @@
#include <Commctrl.h>
#include "resource.h"
+#include "version.h"
CLAVAudioSettingsProp::CLAVAudioSettingsProp(LPUNKNOWN pUnk, HRESULT* phr)
: CBaseDSPropPage(NAME("LAVCAudioProp"), pUnk, IDD_PROPPAGE_AUDIO_SETTINGS, IDS_SETTINGS)
diff --git a/decoder/LAVAudio/stdafx.h b/decoder/LAVAudio/stdafx.h
index 939c3f34..6f993712 100644
--- a/decoder/LAVAudio/stdafx.h
+++ b/decoder/LAVAudio/stdafx.h
@@ -25,7 +25,6 @@
#pragma comment(linker,"\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
#include "common_defines.h"
-#include "version.h"
// include headers
#include <Windows.h>
diff --git a/decoder/LAVVideo/VideoSettingsProp.cpp b/decoder/LAVVideo/VideoSettingsProp.cpp
index 90d86d65..7b5c0b9a 100644
--- a/decoder/LAVVideo/VideoSettingsProp.cpp
+++ b/decoder/LAVVideo/VideoSettingsProp.cpp
@@ -24,6 +24,7 @@
#include <Commctrl.h>
#include "resource.h"
+#include "version.h"
CLAVVideoSettingsProp::CLAVVideoSettingsProp(LPUNKNOWN pUnk, HRESULT* phr)
: CBaseDSPropPage(NAME("LAVVideoProp"), pUnk, IDD_PROPPAGE_VIDEO_SETTINGS, IDS_SETTINGS)
diff --git a/decoder/LAVVideo/stdafx.h b/decoder/LAVVideo/stdafx.h
index 80a23dcb..8534fcf2 100644
--- a/decoder/LAVVideo/stdafx.h
+++ b/decoder/LAVVideo/stdafx.h
@@ -25,7 +25,6 @@
#pragma comment(linker,"\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
#include "common_defines.h"
-#include "version.h"
// include headers
#include <Windows.h>
diff --git a/decoder/LAVVideo/subtitles/LAVSubtitleConsumer.cpp b/decoder/LAVVideo/subtitles/LAVSubtitleConsumer.cpp
index 9b723b8d..4ac8a319 100644
--- a/decoder/LAVVideo/subtitles/LAVSubtitleConsumer.cpp
+++ b/decoder/LAVVideo/subtitles/LAVSubtitleConsumer.cpp
@@ -21,6 +21,7 @@
#include "LAVSubtitleConsumer.h"
#include "LAVVideo.h"
#include "Media.h"
+#include "version.h"
#define OFFSET(x) offsetof(LAVSubtitleConsumerContext, x)
static const SubRenderOption options[] = {
diff --git a/decoder/LAVVideo/subtitles/LAVSubtitleProvider.cpp b/decoder/LAVVideo/subtitles/LAVSubtitleProvider.cpp
index c522d576..4c3dc2ef 100644
--- a/decoder/LAVVideo/subtitles/LAVSubtitleProvider.cpp
+++ b/decoder/LAVVideo/subtitles/LAVSubtitleProvider.cpp
@@ -25,6 +25,8 @@
#include "LAVVideo.h"
+#include "version.h"
+
#define FAST_DIV255(x) ((((x) + 128) * 257) >> 16)
#define SUBTITLE_PTS_TIMEOUT (AV_NOPTS_VALUE + 1)