InternalCache -> Cache

Originally committed to SVN as r114.
This commit is contained in:
Fredrik Mellbin 2006-02-22 19:47:44 +00:00
parent 80b25b53c2
commit 0173fe2d47
2 changed files with 5 additions and 4 deletions

View File

@ -66,7 +66,8 @@ AviSynthWrapper::AviSynthWrapper() {
throw _T("Failed to create a new avisynth script environment. Avisynth is too old?");
// Check for a new enough avisynth version by looking for the most obscure function used
if (!env->FunctionExists("InternalCache"))
// fix me, no longer useful with "Cache"?
if (!env->FunctionExists("Cache"))
throw _T("Installed version of avisynth is too old");
// Set memory limit

View File

@ -158,7 +158,7 @@ PClip VideoProvider::OpenVideo(wxString _filename, bool &usedDirectshow, bool mp
script = env->Invoke("ConvertToRGB32", script);
// Cache
return (env->Invoke("InternalCache", script)).AsClip();
return (env->Invoke("Cache", script)).AsClip();
}
PClip VideoProvider::ApplySubtitles(wxString _filename, PClip videosource) {
@ -177,7 +177,7 @@ PClip VideoProvider::ApplySubtitles(wxString _filename, PClip videosource) {
}
// Cache
return (env->Invoke("InternalCache", script)).AsClip();
return (env->Invoke("Cache", script)).AsClip();
}
PClip VideoProvider::ApplyDARZoom(double _zoom, double _dar, PClip videosource) {
@ -202,7 +202,7 @@ PClip VideoProvider::ApplyDARZoom(double _zoom, double _dar, PClip videosource)
vi = script.AsClip()->GetVideoInfo();
return (env->Invoke("InternalCache",script)).AsClip();
return (env->Invoke("Cache",script)).AsClip();
}
wxBitmap VideoProvider::GetFrame(int n, bool force) {