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 22nd June 2008, 07:35   #21  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
@Gavino, short answer is it's gone!

It sneaked into the code a while back and I meant to remove it, but forgot. It was simply returning (int32)(frame_number*audioSamplesPerFrame) which is so wrong on so many levels. So R.I.P.
IanB is offline   Reply With Quote
Old 22nd June 2008, 18:48   #22  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
Quote:
Originally Posted by gzarkadas View Post
I wonder whether it would worth the effort to make the global vartable being just an alias (for not breaking existing code) of the script-level local vartable and get rid of the global keyword in exchange for a new can of worms .
@gzarkadas: Much as I would like to see changes in the way variable scopes operate in Avisynth, I think this probably is too big a can of worms to open, at least in Avisynth 2.5x.

I think any revision worth doing would be difficult to do a in a 100% backwards compatible way, and it certainly would require at least some changes to the parser and evaluating engine (something I know you have a particular aversion against ).

@IanB: I see we haven't convinced you enough to put the 'global current_frame' change into the latest release.
When does voting close?

Votes so far:
For : 3 (Gavino, gzarkadas, Wilbert)
Against: 1 (IanB)
Abstentions: several 1000's
Gavino is offline   Reply With Quote
Old 22nd June 2008, 21:05   #23  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
Quote:
@gzarkadas: Much as I would like to see changes in the way variable scopes operate in Avisynth, I think this probably is too big a can of worms to open, at least in Avisynth 2.5x.

I think any revision worth doing would be difficult to do a in a 100% backwards compatible way, and it certainly would require at least some changes to the parser and evaluating engine (something I know you have a particular aversion against ).
In that case, I think such a change doesn't belong in a release candidate
Wilbert 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 12:56.


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