Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#61 | Link | |
|
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
Also, did you build the 2.6.0 release code or did you use a current CVS snapshot? Last edited by Groucho2004; 13th December 2015 at 22:04. |
|
|
|
|
|
|
#62 | Link |
|
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
FYI - Ultim and the other AVS+ developers spent many hours re-writing the exception handling code in Avisynth to make it compatible with new compilers.
IanB is doing the same with Avisynth 2.6.1, check the Avisynth CVS. Yet, you think they are all wasting their time and a simple linker switch would solve the problem? |
|
|
|
|
|
#63 | Link | |
|
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
In AVS+, all "new" allocations were checked regarding dependency on returning "NULL" and changed to the non-throwing (std::nothrow) version where applicable. You can test this by running the script I posted and check the thrown exception. It should look like this: Code:
GetFrameBuffer: Returned a VFB with a 0 data pointer! size=2123366464, max=2108096512, used=4246732928, free=2113339392, phys=2847870976 I think we have run out of memory folks! Code:
Evaluate: Unrecognized exception! Yes, your DLL will probably work but it's up to you if you can live with heavily crippled exception handling. Edit: I just noticed that SEt's modified version does include a SEH exception translator. Last edited by Groucho2004; 15th December 2015 at 10:57. |
|
|
|
|
|
|
#64 | Link |
|
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,647
|
This is a less insane version of AVSValue::Assign() in interface.cpp that actually works in both 32 and 64 bit builds:
Code:
void AVSValue::Assign(const AVSValue* src, bool init) {
if (src->IsClip() && src->clip)
src->clip->AddRef();
if (!init && IsClip() && clip)
clip->Release();
// make sure this copies the whole struct!
array_size = src->array_size;
type = src->type;
string = src->string;
}
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
|
|
|
|
#65 | Link |
|
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,182
|
I tried to recompile C-plugin Yadif with 2.6.0 headers.
GCC and VS compilers detect error in avisynth_c.h with =0 at line: AVSC_API(int, avs_row_size)(const AVS_VideoInfo * p, int plane=0); Without =0 compiling is normal.
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick I usually do not provide a technical support in private messages. |
|
|
|
|
|
#66 | Link | |
|
Super Moderator
![]() Join Date: Nov 2001
Location: Netherlands
Posts: 6,375
|
Quote:
@rean, your bug should be fixed too in 2.6.1. |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|