mirror of https://github.com/odrling/Aegisub
Originally committed to SVN as r776.
This commit is contained in:
parent
f21437d33f
commit
2da6766cc7
|
@ -195,8 +195,8 @@ PClip AvisynthVideoProvider::OpenVideo(wxString _filename, bool mpeg2dec3_priori
|
|||
script = env->Invoke("Mpeg2Dec3_Mpeg2Source", videoFilename);
|
||||
|
||||
//if avisynth is 2.5.7 beta 2 or newer old mpeg2decs will crash without this
|
||||
if (env->FunctionExists("SetPlanarLegacyAlignment"))
|
||||
script = env->Invoke("SetPlanarLegacyAlignment", script);
|
||||
// if (env->FunctionExists("SetPlanarLegacyAlignment"))
|
||||
// script = env->Invoke("SetPlanarLegacyAlignment", script);
|
||||
}
|
||||
|
||||
// If that fails, try opening it with DGDecode
|
||||
|
|
Loading…
Reference in New Issue