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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 23rd September 2015, 23:38   #1  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,010
GetFrame causing loop

I'm seeing something weird here. It was working "fine" until I changed something and now I'm seeing this weird behavior, and I don't see why this is happening.
https://github.com/mysteryx93/AviSyn...ter/Shader.cpp

In GetFrame, I call CopyInputClip, and on this line
PVideoFrame frame = clip->GetFrame(n, env);

It recursively calls the Shader::GetFrame again, causing a loop and crashing.

What am I doing wrong here?

Last edited by MysteryX; 23rd September 2015 at 23:46.
MysteryX is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:13.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.